Remove redundant UpdateToggleButtons() in VisualToolDrag::OnSubTool

This commit is contained in:
wangqr 2020-05-06 20:24:15 -04:00
parent 76802c3441
commit 7ac2983c61

View file

@ -102,7 +102,7 @@ void VisualToolDrag::OnSubTool(wxCommandEvent &) {
Commit(); Commit();
OnFileChanged(); OnFileChanged();
UpdateToggleButtons(); //UpdateToggleButtons();
} }
void VisualToolDrag::OnLineChanged() { void VisualToolDrag::OnLineChanged() {