From 680277ad6ad58d343c25d2cc5e2e23cc55e4bb6e Mon Sep 17 00:00:00 2001 From: ctrlaltca Date: Wed, 31 Aug 2016 20:13:30 +0200 Subject: [PATCH] fix #2129 (#2132) Remove selection move at all --- cockatrice/src/tab_deck_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/tab_deck_editor.cpp b/cockatrice/src/tab_deck_editor.cpp index b3547d8c..541bb18d 100644 --- a/cockatrice/src/tab_deck_editor.cpp +++ b/cockatrice/src/tab_deck_editor.cpp @@ -823,7 +823,7 @@ void TabDeckEditor::actSwapCard() QModelIndex newCardIndex = deckModel->addCard(cardName, otherZoneName); recursiveExpand(newCardIndex); - deckView->setCurrentIndex(newCardIndex); + setModified(true); }