Manually reload selectgame

This commit is contained in:
Patrick Nicolas
2026-04-27 14:03:00 +02:00
parent 51e3dd5adc
commit 5a205c15ae
2 changed files with 2 additions and 14 deletions
-14
View File
@@ -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++) {
+2
View File
@@ -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;