This commit is contained in:
committed by
Chris Hennes
parent
4fa82a796d
commit
04bbfc6e07
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user