1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

Fix power menu focus activation

This commit is contained in:
bbedward
2025-10-10 12:29:14 -04:00
parent 3014fd8095
commit 7f2086488b

View File

@@ -78,7 +78,7 @@ DankModal {
}
onOpened: () => {
selectedIndex = 0;
modalFocusScope.forceActiveFocus();
Qt.callLater(() => modalFocusScope.forceActiveFocus());
}
modalFocusScope.Keys.onPressed: (event) => {
switch (event.key) {