mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +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) {
|
settingsOverlay.overlay.lookup("#changeDir").setOnAction(function(event) {
|
||||||
var chooser = new javafx.stage.DirectoryChooser();
|
var chooser = new javafx.stage.DirectoryChooser();
|
||||||
chooser.setTitle("Сменить директорию загрузок");
|
chooser.setTitle("Сменить директорию загрузок");
|
||||||
chooser.setInitialDirectory(dir.toFile());
|
chooser.setInitialDirectory(DirBridge.dir.toFile());
|
||||||
|
|
||||||
// Set new result
|
// Set new result
|
||||||
var newDir = chooser.showDialog(stage);
|
var newDir = chooser.showDialog(stage);
|
||||||
|
|
Loading…
Reference in a new issue