Fix datum not being cancelled

This commit is contained in:
PaddleStroke
2024-10-21 10:56:58 -05:00
committed by Chris Hennes
parent a338d8f544
commit 16277b2f8d
+3 -1
View File
@@ -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)