mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-28 02:56:56 +02:00
Unhighlight directory in table when type filename to save
This commit is contained in:
parent
0fe93a1e89
commit
b4543cc579
1 changed files with 6 additions and 0 deletions
|
@ -610,6 +610,12 @@ ModalWindow {
|
|||
readOnly: !root.saveDialog
|
||||
activeFocusOnTab: !readOnly
|
||||
onActiveFocusChanged: if (activeFocus) { selectAll(); }
|
||||
onTextChanged: {
|
||||
if (root.saveDialog && text !== "") {
|
||||
fileTableView.selection.clear();
|
||||
fileTableView.currentRow = -1;
|
||||
}
|
||||
}
|
||||
onAccepted: okAction.trigger();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue