From bb1fb86f2047b81b95f17795c58448c9502c9e9b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 30 Dec 2020 16:37:09 -0800 Subject: 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 --- mobile-widgets/qml/SsrfTextField.qml | 2 -- 1 file changed, 2 deletions(-) (limited to 'mobile-widgets/qml/SsrfTextField.qml') 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") } } -- cgit v1.2.3-70-g09d2