diff --git a/src/Mod/Part/Gui/TaskAttacher.cpp b/src/Mod/Part/Gui/TaskAttacher.cpp index 23510f7721..6acff9c966 100644 --- a/src/Mod/Part/Gui/TaskAttacher.cpp +++ b/src/Mod/Part/Gui/TaskAttacher.cpp @@ -1073,7 +1073,9 @@ TaskDlgAttacher::~TaskDlgAttacher() = default; void TaskDlgAttacher::open() { - Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Edit attachment")); + if (!Gui::Command::hasPendingCommand()) { + Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Edit attachment")); + } } void TaskDlgAttacher::clicked(int)