sidebar: wifi dialog: esc to close

This commit is contained in:
end-4
2025-08-27 20:13:46 +07:00
parent 2ad304aaf2
commit fc69ca0599
3 changed files with 14 additions and 2 deletions
@@ -159,7 +159,12 @@ Item {
anchors.fill: parent
active: root.showWifiDialog || item.visible
onActiveChanged: if (active) item.show = true
onActiveChanged: {
if (active) {
item.show = true;
item.forceActiveFocus();
}
}
sourceComponent: WifiDialog {
onDismiss: {
@@ -17,7 +17,7 @@ import Quickshell.Hyprland
WindowDialog {
id: root
WindowDialogTitle {
text: Translation.tr("Connect to Wi-Fi")
}