mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-15 15:24:24 +03:00
close second config window with ESC
This commit is contained in:
parent
9cdb75ec49
commit
113822f740
@ -60,6 +60,14 @@ FocusScope {
|
||||
TypeSelection{
|
||||
id: typeSettings
|
||||
anchors.centerIn: parent
|
||||
|
||||
Component.onCompleted: forceActiveFocus();
|
||||
|
||||
Keys.onPressed: {
|
||||
if (event.key === Qt.Key_Escape) {
|
||||
dockConfig.hideConfigWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: dockConfig.setVisibleWindow(advanced);
|
||||
|
Loading…
x
Reference in New Issue
Block a user