Merge branch 'vector_clip_actions' into feature

This commit is contained in:
arch1t3cht 2022-07-30 13:46:04 +02:00
commit 4b9c50a702
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ void VisualToolVectorClip::SetToolbar(wxToolBar *toolBar) {
toolBar->Realize();
toolBar->Show(true);
toolBar->Bind(wxEVT_TOOL, [=](wxCommandEvent& e) { SetMode((VisualToolVectorClipMode) (e.GetId() - BUTTON_ID_BASE)); });
SetMode(VCLIP_DRAG);
SetMode(VCLIP_LINE);
#undef ICON
}