mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
mobile/UI: don't show warning if text field is not in flickable
It's entirely reasonable to use the component in a context where we don't have a flickable. Simply don't try to reposition things in that case. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7ed32e3a49
commit
bb1fb86f20
1 changed files with 0 additions and 2 deletions
|
@ -24,8 +24,6 @@ Controls.TextField {
|
||||||
onPressed: {
|
onPressed: {
|
||||||
if (flickable !== undefined) {
|
if (flickable !== undefined) {
|
||||||
waitForKeyboard.start()
|
waitForKeyboard.start()
|
||||||
} else {
|
|
||||||
manager.appendTextToLog("flickable is undefined")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue