Manually reload selectgame
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user