Sketcher: Fix dangling command context on double-click text edit

Remove the openCommand() call in editDoubleClicked() since
EditTextDialog already manages its own command lifecycle. The redundant
outer command was never closed when the user cancelled the dialog.
This commit is contained in:
Benjamin Nauck
2026-03-10 19:11:48 +01:00
parent 5ae85148cc
commit 0ea238f90c
@@ -1352,7 +1352,6 @@ void ViewProviderSketch::editDoubleClicked()
}
if (textConstrId != -1) {
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Modify Text constraint"));
EditTextDialog editTextDialog(this, textConstrId);
editTextDialog.exec();
setSketchMode(STATUS_NONE);