Commit b15a37b9 authored by mercury233's avatar mercury233 Committed by GitHub

blur deck combobox after selecting (#2284)

parent 67b325d6
......@@ -471,6 +471,7 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
break;
}
}
mainGame->env->setFocus(0);
InstantSearch();
break;
}
......@@ -488,13 +489,16 @@ bool DeckBuilder::OnEvent(const irr::SEvent& event) {
mainGame->ebDefense->setEnabled(true);
}
}
mainGame->env->setFocus(0);
InstantSearch();
break;
}
case COMBOBOX_ATTRIBUTE:
case COMBOBOX_RACE:
case COMBOBOX_LIMIT:
mainGame->env->setFocus(0);
InstantSearch();
break;
}
}
default: break;
......
Markdown is supported
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