Update PropertiesDialog.qml
This commit is contained in:
parent
7f86732e82
commit
fe36b143d2
1 changed files with 1 additions and 9 deletions
|
@ -80,21 +80,13 @@ Window {
|
||||||
source: "image://icontheme/" + main.iconName
|
source: "image://icontheme/" + main.iconName
|
||||||
}
|
}
|
||||||
|
|
||||||
FishUI.ActionTextField {
|
TextField {
|
||||||
id: _textField
|
id: _textField
|
||||||
text: main.fileName
|
text: main.fileName
|
||||||
focus: true
|
focus: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Keys.onEscapePressed: control.close()
|
Keys.onEscapePressed: control.close()
|
||||||
enabled: !main.multiple && main.isWritable
|
enabled: !main.multiple && main.isWritable
|
||||||
rightActions: [
|
|
||||||
Action {
|
|
||||||
icon.source: "image://icontheme/edit-clear"
|
|
||||||
onTriggered: {
|
|
||||||
_textField.text = ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue