Gui: [skip ci] add option to automatically close task dialog if undo/redo was pressed

This commit is contained in:
wmayer
2021-02-12 17:42:49 +01:00
parent d4e8a5a384
commit 75dff5d947
3 changed files with 31 additions and 1 deletions

View File

@@ -38,7 +38,9 @@ using namespace Gui::TaskView;
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TaskDialog::TaskDialog()
: QObject(0), pos(North), escapeButton(true)
: QObject(nullptr), pos(North)
, escapeButton(true)
, autoCloseTransaction(false)
{
}
@@ -84,6 +86,11 @@ void TaskDialog::closed()
}
void TaskDialog::autoClosedOnTransactionChange()
{
}
void TaskDialog::clicked(int)
{