mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -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:
parent
411fc38337
commit
7d2ad9ee3b
1 changed files with 1 additions and 0 deletions
|
|
@ -606,6 +606,7 @@ void TabDeckEditor::addCardHelper(QString zoneName)
|
||||||
recursiveExpand(newCardIndex);
|
recursiveExpand(newCardIndex);
|
||||||
deckView->setCurrentIndex(newCardIndex);
|
deckView->setCurrentIndex(newCardIndex);
|
||||||
setModified(true);
|
setModified(true);
|
||||||
|
searchEdit->setSelection(0, searchEdit->text().length());
|
||||||
}
|
}
|
||||||
|
|
||||||
void TabDeckEditor::actSwapCard()
|
void TabDeckEditor::actSwapCard()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue