mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-07 05:53:59 -07:00
[DeckEditor] Fix undo/redo resetting deck sorting
This commit is contained in:
parent
2f10634ca2
commit
ce52de4627
1 changed files with 2 additions and 0 deletions
|
|
@ -320,6 +320,7 @@ void DeckStateManager::undo(int steps)
|
|||
deckListModel->rebuildTree();
|
||||
|
||||
emit deckListModel->layoutChanged();
|
||||
emit deckReplaced();
|
||||
}
|
||||
|
||||
void DeckStateManager::redo(int steps)
|
||||
|
|
@ -338,6 +339,7 @@ void DeckStateManager::redo(int steps)
|
|||
deckListModel->rebuildTree();
|
||||
|
||||
emit deckListModel->layoutChanged();
|
||||
emit deckReplaced();
|
||||
}
|
||||
|
||||
void DeckStateManager::requestHistorySave(const QString &reason)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue