From 5a205c15aef830865781e8ff149ede35445a1f7a Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Mon, 27 Apr 2026 13:56:09 +0200 Subject: [PATCH] Manually reload selectgame --- dashboard/qml/SelectGame.qml | 14 -------------- dashboard/qml/SettingsPage.qml | 2 ++ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/dashboard/qml/SelectGame.qml b/dashboard/qml/SelectGame.qml index 58728728..a80ff625 100644 --- a/dashboard/qml/SelectGame.qml +++ b/dashboard/qml/SelectGame.qml @@ -28,21 +28,12 @@ ColumnLayout { "is_custom": false }); } - - select_game.load(); } ListModel { id: apps } - Connections { - target: WivrnServer - function onJsonConfigurationChanged() { - select_game.load(); - } - } - Dialogs.FileDialog { id: app_browse onAccepted: { @@ -74,11 +65,6 @@ ColumnLayout { } function load() { - if (WivrnServer.jsonConfiguration == "") - return; - - Settings.load(WivrnServer); - var found = false; var custom_idx = -1; for (var i = 0; i < apps.count; i++) { diff --git a/dashboard/qml/SettingsPage.qml b/dashboard/qml/SettingsPage.qml index 49bc7482..db96d8b2 100644 --- a/dashboard/qml/SettingsPage.qml +++ b/dashboard/qml/SettingsPage.qml @@ -85,6 +85,7 @@ Kirigami.ScrollablePage { } SelectGame { + id: select_game Kirigami.FormData.label: i18n("Autostart application:") } @@ -287,6 +288,7 @@ Kirigami.ScrollablePage { } function load() { + select_game.load(); debug_gui.checked = Settings.debugGui; steamvr_lh.checked = Settings.steamVrLh; hid_forwarding.checked = Settings.hidForwarding;