[TD]fix RTA edit when no MDI

This commit is contained in:
wandererfan
2020-02-16 09:56:44 -05:00
committed by WandererFan
parent d61cbe8f5f
commit 3a2fd3c2f3
3 changed files with 55 additions and 40 deletions

View File

@@ -94,7 +94,6 @@ bool ViewProviderRichAnno::setEdit(int ModNum)
if (Gui::Control().activeDialog()) { //TaskPanel already open!
return false;
}
// clear the selection (convenience)
Gui::Selection().clearSelection();
Gui::Control().showDialog(new TaskDlgRichAnno(this));
return true;