mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -08:00
[UI] Auto-select first match when completer popup resets
This commit is contained in:
parent
ae0dfb8622
commit
c7a3de3595
1 changed files with 1 additions and 3 deletions
|
|
@ -188,9 +188,7 @@ void CardCompleterStyler::ensureClosestSelected()
|
||||||
|
|
||||||
void CardCompleterStyler::onCompletionReset()
|
void CardCompleterStyler::onCompletionReset()
|
||||||
{
|
{
|
||||||
if (above) {
|
ensureClosestSelected();
|
||||||
ensureClosestSelected();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue