Distinguish between file name and directory as prompt in file chooser

This commit is contained in:
David Rowe 2016-06-30 20:48:19 +12:00
parent 925aea162a
commit 759b3065fc

View file

@ -603,7 +603,7 @@ ModalWindow {
TextField {
id: currentSelection
label: "Path:"
label: selectDirectory ? "Directory:" : "File name:"
anchors {
left: parent.left
right: selectionType.visible ? selectionType.left: parent.right