Commit 7d2ad9ee authored by Matt Lowe's avatar Matt Lowe
Browse files

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
parent 411fc383
...@@ -606,6 +606,7 @@ void TabDeckEditor::addCardHelper(QString zoneName) ...@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment