mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Force-show on-screen keyboard when clicking on active status bar
This commit is contained in:
parent
fe4b4a4fba
commit
bbdd2ffb37
@ -266,7 +266,13 @@ void CInGameConsole::startEnteringText()
|
||||
return;
|
||||
|
||||
if(isEnteringText())
|
||||
{
|
||||
// force-reset text input to re-show on-screen keyboard
|
||||
GH.statusbar()->setEnteringMode(false);
|
||||
GH.statusbar()->setEnteringMode(true);
|
||||
GH.statusbar()->setEnteredText(enteredText);
|
||||
return;
|
||||
}
|
||||
|
||||
assert(currentStatusBar.expired());//effectively, nullptr check
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user