mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-03-21 17:55:21 -05:00
[DeckEditor] Fix undo/redo resetting deck sorting (#6673)
This commit is contained in:
parent
fd293444c5
commit
15a1d5440b
|
|
@ -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…
Reference in New Issue
Block a user