From fe36b143d22178798fed98c978f27d2c5be67590 Mon Sep 17 00:00:00 2001 From: Flex Zhong Date: Mon, 12 Jul 2021 19:02:29 +0800 Subject: [PATCH] Update PropertiesDialog.qml --- qml/Dialogs/PropertiesDialog.qml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/qml/Dialogs/PropertiesDialog.qml b/qml/Dialogs/PropertiesDialog.qml index e11a6dd..6852a22 100644 --- a/qml/Dialogs/PropertiesDialog.qml +++ b/qml/Dialogs/PropertiesDialog.qml @@ -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 = "" - } - } - ] } }