mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-28 11:53:11 -07:00
[DeckEditor] Fix undo/redo resetting deck sorting (#6673)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user