mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:13:15 +02:00
Fix selecting directory directly from dropdown
This commit is contained in:
parent
4176940e24
commit
cf6945b403
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ ModalWindow {
|
||||||
if (helper.urlToPath(folder).toLowerCase() !== helper.urlToPath(fileTableModel.folder).toLowerCase()) {
|
if (helper.urlToPath(folder).toLowerCase() !== helper.urlToPath(fileTableModel.folder).toLowerCase()) {
|
||||||
if (root.selectDirectory) {
|
if (root.selectDirectory) {
|
||||||
currentSelection.text = currentText !== "This PC" ? currentText : "";
|
currentSelection.text = currentText !== "This PC" ? currentText : "";
|
||||||
|
d.currentSelectionUrl = helper.pathToUrl(currentText);
|
||||||
}
|
}
|
||||||
fileTableModel.folder = folder;
|
fileTableModel.folder = folder;
|
||||||
fileTableView.forceActiveFocus();
|
fileTableView.forceActiveFocus();
|
||||||
|
|
Loading…
Reference in a new issue