From 0ea238f90c70dac926ef085e187610364cbc39bb Mon Sep 17 00:00:00 2001 From: Benjamin Nauck Date: Mon, 9 Mar 2026 21:38:03 +0100 Subject: [PATCH] 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. --- src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index 4978ffc988..774f92bbce 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -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);