Skip to content

Commit

Permalink
Gui: fix crash on removing selection gate
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Jun 28, 2020
1 parent 09e0e5f commit fac530c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Gui/Selection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,8 @@ void SelectionSingleton::rmvSelectionGate(void)
Gui::Document* doc = Gui::Application::Instance->activeDocument();
if (doc) {
Gui::MDIView* mdi = doc->getActiveView();
mdi->restoreOverrideCursor();
if (mdi)
mdi->restoreOverrideCursor();
}
}
}
Expand Down

0 comments on commit fac530c

Please sign in to comment.