aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-12-30 16:37:09 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-01 11:35:39 -0800
commitbb1fb86f2047b81b95f17795c58448c9502c9e9b (patch)
treed02dae1659b86873064a5a7f63b7fc9582c5a18b /mobile-widgets
parent7ed32e3a49900153fb2e6517a863e13deebb6b71 (diff)
downloadsubsurface-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.qml2
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")
}
}