mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 14:49:44 -09:00
lockscreen: Make the virtual keyboard button follow HIG
Match with the changes in 15ff08317e
This commit is contained in:
parent
cb94120457
commit
a7f07dabe0
1 changed files with 4 additions and 2 deletions
|
|
@ -472,8 +472,10 @@ Item {
|
|||
id: virtualKeyboardButton
|
||||
|
||||
focusPolicy: Qt.TabFocus
|
||||
text: i18ndc("plasma_shell_org.kde.plasma.desktop", "Button to show/hide virtual keyboard", "Virtual Keyboard")
|
||||
icon.name: Keyboards.KWinVirtualKeyboard.visible ? "input-keyboard-virtual-on" : "input-keyboard-virtual-off"
|
||||
text: Keyboards.KWinVirtualKeyboard.visible
|
||||
? i18ndc("plasma_shell_org.kde.plasma.desktop", "@action:button", "Hide On-Screen Keyboard")
|
||||
: i18ndc("plasma_shell_org.kde.plasma.desktop", "@action:button", "Show On-Screen Keyboard")
|
||||
icon.name: Keyboards.KWinVirtualKeyboard.visible ? "input-keyboard-virtual-hide" : "input-keyboard-virtual-show"
|
||||
onClicked: {
|
||||
if (Keyboards.KWinVirtualKeyboard.visible) {
|
||||
Keyboards.KWinVirtualKeyboard.active = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue