From 7a7abd09bdd37373f0c594c0d13691ebb974cf34 Mon Sep 17 00:00:00 2001 From: Gravit Date: Sun, 4 Nov 2018 10:34:40 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B4=D0=B8=D0=B0?= =?UTF-8?q?=D0=BB=D0=BE=D0=B3=D0=BE=D0=B2=D0=BE=D0=B3=D0=BE=20=D0=BE=D0=BA?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=81=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=D0=BE?= =?UTF-8?q?=D0=BC=20=D0=BF=D0=B0=D0=BF=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Launcher/runtime/dialog/overlay/settings/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +};