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;