mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
When choosing a directory default selection to default directory
This commit is contained in:
parent
d74f1c8b5d
commit
546699da03
1 changed files with 6 additions and 0 deletions
|
@ -82,6 +82,12 @@ ModalWindow {
|
|||
|
||||
// Clear selection when click on external frame.
|
||||
frameClicked.connect(function() { d.clearSelection(); });
|
||||
|
||||
if (selectDirectory) {
|
||||
currentSelection.text = d.capitalizeDrive(helper.urlToPath(initialFolder));
|
||||
}
|
||||
|
||||
fileTableView.forceActiveFocus();
|
||||
}
|
||||
|
||||
Item {
|
||||
|
|
Loading…
Reference in a new issue