mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-03 17:56:27 +01:00
This commit is contained in:
parent
0b51290a1e
commit
d6a4b67df7
@ -224,7 +224,7 @@ bool VideoDriver_Cocoa::AfterBlitterChange()
|
|||||||
*/
|
*/
|
||||||
void VideoDriver_Cocoa::EditBoxLostFocus()
|
void VideoDriver_Cocoa::EditBoxLostFocus()
|
||||||
{
|
{
|
||||||
[ [ this->cocoaview inputContext ] discardMarkedText ];
|
[ [ this->cocoaview inputContext ] performSelectorOnMainThread:@selector(discardMarkedText) withObject:nil waitUntilDone:[ NSThread isMainThread ] ];
|
||||||
/* Clear any marked string from the current edit box. */
|
/* Clear any marked string from the current edit box. */
|
||||||
HandleTextInput(nullptr, true);
|
HandleTextInput(nullptr, true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user