When choosing a directory default selection to default directory

This commit is contained in:
David Rowe 2016-06-13 15:06:10 +12:00
parent d74f1c8b5d
commit 546699da03

View file

@ -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 {