diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-30 16:37:09 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-01 11:35:39 -0800 |
commit | bb1fb86f2047b81b95f17795c58448c9502c9e9b (patch) | |
tree | d02dae1659b86873064a5a7f63b7fc9582c5a18b /mobile-widgets | |
parent | 7ed32e3a49900153fb2e6517a863e13deebb6b71 (diff) | |
download | subsurface-bb1fb86f2047b81b95f17795c58448c9502c9e9b.tar.gz |
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/SsrfTextField.qml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mobile-widgets/qml/SsrfTextField.qml b/mobile-widgets/qml/SsrfTextField.qml index 15f7cc0db..e33cb3ea2 100644 --- a/mobile-widgets/qml/SsrfTextField.qml +++ b/mobile-widgets/qml/SsrfTextField.qml @@ -24,8 +24,6 @@ Controls.TextField { onPressed: { if (flickable !== undefined) { waitForKeyboard.start() - } else { - manager.appendTextToLog("flickable is undefined") } } |