Commit 41a03f21 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Don't focus panel edit spinbox by default if that would show vkbd

parent ad24d338
......@@ -11,6 +11,7 @@ import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.configuration 2.0
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
import org.kde.kirigami 2.19 as Kirigami
Item {
id: root
......@@ -195,7 +196,7 @@ Item {
Layout.fillWidth: true
editable: true
focus: true
focus: !Kirigami.InputMethod.willShowOnActive
from: 20 // below this size, the panel is mostly unusable
to: PlasmaCore.Types.LeftEdge || panel.location === PlasmaCore.Types.RightEdge ? panel.screenToFollow.geometry.width / 2 : panel.screenToFollow.geometry.height / 2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment