mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 00:23:33 +02:00
Fix initial drive change and go-up not working properly on first screen
This commit is contained in:
parent
14c733cd6e
commit
1fc3d9229c
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,12 @@ ModalWindow {
|
|||
root.dir = helper.pathToUrl(drivesSelector.currentText);
|
||||
})
|
||||
|
||||
// HACK: The following two lines force the model to initialize properly such that:
|
||||
// - Selecting a different drive at the initial screen updates the path displayed.
|
||||
// - The go-up button works properly from the initial screen.
|
||||
root.dir = helper.pathToUrl(drivesSelector.currentText);
|
||||
root.dir = helper.pathToUrl(currentDirectory.lastValidFolder);
|
||||
|
||||
iconText = root.title !== "" ? hifi.glyphs.scriptUpload : "";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue