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
This commit is contained in:
Matt Lowe 2015-05-30 16:50:52 +02:00
parent 411fc38337
commit 7d2ad9ee3b

View file

@ -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()