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
|
||||
}
|
||||
|
||||
FishUI.ActionTextField {
|
||||
TextField {
|
||||
id: _textField
|
||||
text: main.fileName
|
||||
focus: true
|
||||
Layout.fillWidth: true
|
||||
Keys.onEscapePressed: control.close()
|
||||
enabled: !main.multiple && main.isWritable
|
||||
rightActions: [
|
||||
Action {
|
||||
icon.source: "image://icontheme/edit-clear"
|
||||
onTriggered: {
|
||||
_textField.text = ""
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue