mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
IOOBE Fix (#73)
Если в клиенте не было профилей - клиент не загружался. (Вечная загрузка) https://hastebin.com/qesogeyutu.hs
This commit is contained in:
parent
3c960eb501
commit
a191c45a57
1 changed files with 3 additions and 2 deletions
|
@ -293,7 +293,8 @@ function updateProfilesList(profiles) {
|
|||
index++;
|
||||
});
|
||||
LogHelper.debug("Load selected %d profile",settings.profile);
|
||||
serverHolder.set(serverList.getChildren().get(settings.profile));
|
||||
if(profiles.length > 0)
|
||||
serverHolder.set(serverList.getChildren().get(settings.profile));
|
||||
}
|
||||
|
||||
function pingServer(btn) {
|
||||
|
@ -422,4 +423,4 @@ launcher.loadScript("dialog/overlay/debug/debug.js");
|
|||
launcher.loadScript("dialog/overlay/processing/processing.js");
|
||||
launcher.loadScript("dialog/overlay/settings/settings.js");
|
||||
launcher.loadScript("dialog/overlay/options/options.js");
|
||||
launcher.loadScript("dialog/overlay/update/update.js");
|
||||
launcher.loadScript("dialog/overlay/update/update.js");
|
||||
|
|
Loading…
Reference in a new issue