Gui: [skip ci] add option to automatically close task dialog if undo/redo was pressed
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user