Only allow opening QuickSwitcher if there is an active connection
This commit is contained in:
@@ -18,7 +18,7 @@ Kirigami.SearchDialog {
|
|||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
sequence: "Ctrl+K"
|
sequence: "Ctrl+K"
|
||||||
onActivated: root.open()
|
onActivated: if (root.connection) root.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
onAccepted: if (currentItem) {
|
onAccepted: if (currentItem) {
|
||||||
|
|||||||
Reference in New Issue
Block a user