mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-25 22:12:50 -05:00
escape key handling
This commit is contained in:
@@ -194,12 +194,12 @@ DankModal {
|
||||
}
|
||||
|
||||
Connections {
|
||||
function onOpened() {
|
||||
searchField.forceActiveFocus();
|
||||
}
|
||||
|
||||
function onDialogClosed() {
|
||||
searchField.clearFocus();
|
||||
function onSpotlightOpenChanged() {
|
||||
if (spotlightModal.spotlightOpen) {
|
||||
Qt.callLater(function() {
|
||||
searchField.forceActiveFocus();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
target: spotlightModal
|
||||
|
||||
Reference in New Issue
Block a user