Fix QuickSwitcher activation
By making sure the global menu bar is disabled when not needed. This should also help with memory usage. Fix #482
This commit is contained in:
@@ -11,6 +11,12 @@ import org.kde.neochat 1.0
|
||||
QQC2.Popup {
|
||||
id: _popup
|
||||
|
||||
Shortcut {
|
||||
sequence: "Ctrl+K"
|
||||
enabled: !Kirigami.Settings.hasPlatformMenuBar
|
||||
onActivated: _popup.open()
|
||||
}
|
||||
|
||||
onVisibleChanged: {
|
||||
if (!visible) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user