mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user