mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
Фикс диалогового окна с выбором папки
This commit is contained in:
parent
077c4f4c78
commit
7a7abd09bd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue