Merge pull request #8163 from ctrlaltdavid/20981

distinguish between file name and directory as prompt in file chooser
This commit is contained in:
Sam Gondelman 2016-07-01 10:39:32 -07:00 committed by GitHub
commit af67d814eb

View file

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