PD: Fix crash when pressing ESC on chamfer/fillet dialog

This commit is contained in:
wmayer
2024-07-19 13:08:26 +02:00
committed by Chris Hennes
parent 7709af53d4
commit 8a4aa75dec

View File

@@ -635,11 +635,8 @@ void TaskView::removeDialog()
triggerMinimumSizeHint();
}
void TaskView::updateWatcher(void)
void TaskView::updateWatcher()
{
if (ActiveCtrl || ActiveDialog)
return;
if (ActiveWatcher.empty()) {
auto panel = Gui::Control().taskPanel();
if (panel && panel->ActiveWatcher.size())