diff --git a/Launcher/runtime/dialog/overlay/settings/settings.js b/Launcher/runtime/dialog/overlay/settings/settings.js index 0f862397..e41e0dc9 100644 --- a/Launcher/runtime/dialog/overlay/settings/settings.js +++ b/Launcher/runtime/dialog/overlay/settings/settings.js @@ -78,7 +78,7 @@ var settingsOverlay = { settingsOverlay.overlay.lookup("#changeDir").setOnAction(function(event) { var chooser = new javafx.stage.DirectoryChooser(); chooser.setTitle("Сменить директорию загрузок"); - chooser.setInitialDirectory(dir.toFile()); + chooser.setInitialDirectory(DirBridge.dir.toFile()); // Set new result var newDir = chooser.showDialog(stage); @@ -210,4 +210,4 @@ var cliParams = { settings.offline = cliParams.offline; } } -}; \ No newline at end of file +};