Commit dd16ea78 authored by Zach's avatar Zach
Browse files

Merge pull request #1115 from poixen/text_highlight

Highlight text after adding card
parents 28ccec71 7d2ad9ee
...@@ -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