PaddleStroke
2025-07-09 11:12:40 +02:00
committed by Chris Hennes
parent 4fa82a796d
commit 04bbfc6e07

View File

@@ -1242,9 +1242,6 @@ TaskDlgAttacher::~TaskDlgAttacher()
if (accepted && onAccept) {
onAccept();
}
else if (onReject) {
onReject();
}
};
//==== calls from the TaskView ===============================================================
@@ -1307,6 +1304,10 @@ bool TaskDlgAttacher::accept()
bool TaskDlgAttacher::reject()
{
if (onReject) {
onReject();
}
Gui::DocumentT doc(getDocumentName());
Gui::Document* document = doc.getDocument();
if (document) {