aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2018-08-27 13:34:52 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2018-08-27 12:45:25 +0000
commit28a0caf8b244c5ed6003896c5a31ad85030751e5 (patch)
treea826836e06e93bbede902109e2fbd2050638d4ae
parentc4079ef585f3efdedc64d961d8ef2bd90cedb7fc (diff)
Fix duplicated selection handle on desktop integration
SelectionControl on the InputPanel was not disabled when using desktop integration. This caused duplicated handles to appear on screen. This change disables the SelectionControl when desktop integration is used. Task-number: QTBUG-60321 Change-Id: Icf7cab4bdeacade16bbe2b1eb2078baceb955d5e Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
-rw-r--r--src/virtualkeyboard/content/InputPanel.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtualkeyboard/content/InputPanel.qml b/src/virtualkeyboard/content/InputPanel.qml
index e41756a7..cedec2f8 100644
--- a/src/virtualkeyboard/content/InputPanel.qml
+++ b/src/virtualkeyboard/content/InputPanel.qml
@@ -118,7 +118,7 @@ Item {
objectName: "selectionControl"
x: -parent.x
y: -parent.y
- enabled: active && !keyboard.fullScreenMode
+ enabled: active && !keyboard.fullScreenMode && !__isRootItem
}
implicitHeight: keyboard.height