From 7d2ad9ee3b6d1e851fd83c53968b16e98e0cf085 Mon Sep 17 00:00:00 2001 From: Matt Lowe Date: Sat, 30 May 2015 16:50:52 +0200 Subject: [PATCH] Highlight text after adding card After adding a card to the main or side, the search text will become selected to easily start the next search --- cockatrice/src/tab_deck_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cockatrice/src/tab_deck_editor.cpp b/cockatrice/src/tab_deck_editor.cpp index 91a15a3c..1478e71e 100644 --- a/cockatrice/src/tab_deck_editor.cpp +++ b/cockatrice/src/tab_deck_editor.cpp @@ -606,6 +606,7 @@ void TabDeckEditor::addCardHelper(QString zoneName) recursiveExpand(newCardIndex); deckView->setCurrentIndex(newCardIndex); setModified(true); + searchEdit->setSelection(0, searchEdit->text().length()); } void TabDeckEditor::actSwapCard()