diff --git a/src/Gui/Control.cpp b/src/Gui/Control.cpp index cf2eb9f55b..522c4c21ba 100644 --- a/src/Gui/Control.cpp +++ b/src/Gui/Control.cpp @@ -35,6 +35,7 @@ #include "Control.h" #include "TaskView/TaskView.h" +#include #include #include #include @@ -147,6 +148,11 @@ void ControlSingleton::showDialog(Gui::TaskView::TaskDialog *dlg) dw->raise(); } } + + // Since the caller sets up a modeless task panel, it indicates intension + // for prolonged editing. So disable auto transaction in the current call + // stack. + App::AutoTransaction::setEnable(false); } QTabWidget* ControlSingleton::tabPanel() const