1
0
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:
Michail Vourlakos 2018-01-21 13:13:51 +02:00
parent 9cdb75ec49
commit 113822f740

View File

@ -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);