diff --git a/qml/AppControls2/FolderItem.qml b/qml/AppControls2/FolderItem.qml index dcbb9c7..01523a5 100644 --- a/qml/AppControls2/FolderItem.qml +++ b/qml/AppControls2/FolderItem.qml @@ -10,7 +10,7 @@ MouseArea { property bool truncate: false property bool isSelect: false hoverEnabled: true - ToolTip.visible: editStatus && truncate && control.containsMouse + ToolTip.visible: !editStatus && truncate && control.containsMouse ToolTip.text: name states: State { when: control.activeFocus @@ -55,7 +55,7 @@ MouseArea { horizontalAlignment: Text.AlignLeft elide: Text.ElideRight text: name - Component.onCompleted: { + onWidthChanged: { control.truncate = textShow.truncated } }