Commit 28280c32 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add undo limite

parent 9dd3a449
Pipeline #88189 canceled with stage
...@@ -12,6 +12,8 @@ HistorySwitchFolderManager::HistorySwitchFolderManager(QObject *parent) ...@@ -12,6 +12,8 @@ HistorySwitchFolderManager::HistorySwitchFolderManager(QObject *parent)
: QObject{parent} : QObject{parent}
, mUndoStack(new QUndoStack(this)) , mUndoStack(new QUndoStack(this))
{ {
// Not necessary to store to many info
mUndoStack->setUndoLimit(10);
} }
HistorySwitchFolderManager::~HistorySwitchFolderManager() HistorySwitchFolderManager::~HistorySwitchFolderManager()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment