mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Force-show on-screen keyboard when clicking on active status bar
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user