mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 12:24:01 +02:00
Clear file selection and disabled Open button when change directory
This commit is contained in:
parent
262e0262fc
commit
358355cfbf
1 changed files with 4 additions and 0 deletions
|
@ -215,6 +215,10 @@ ModalWindow {
|
|||
openButton.text = root.selectDirectory && row === -1 ? "Choose" : "Open"
|
||||
|
||||
if (row === -1) {
|
||||
if (!root.selectDirectory) {
|
||||
currentSelection.text = "";
|
||||
currentSelectionIsFolder = false;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue