Unhighlight directory in table when type filename to save

This commit is contained in:
David Rowe 2016-06-09 16:29:15 +12:00
parent 0fe93a1e89
commit b4543cc579

View file

@ -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();
}