mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-25 21:38:59 +02:00
parent
2a50fb487f
commit
f56acf8a80
@ -275,7 +275,7 @@ void SelectionTab::clickLeft(tribool down, bool previousState)
|
||||
}
|
||||
#ifdef VCMI_IOS
|
||||
// focus input field if clicked inside it
|
||||
else if(inputName->active && inputNameRect.isIn(GH.current->button.x, GH.current->button.y))
|
||||
else if(inputName && inputName->active && inputNameRect.isIn(GH.current->button.x, GH.current->button.y))
|
||||
inputName->giveFocus();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user