summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2017-03-02 16:29:11 +0100
committerKai Uwe Broulik <[email protected]>2017-03-02 16:29:11 +0100
commitb4d8de1ed9ec026730efcd204b13ea4e4a7fc2bd (patch)
tree142ebbb6766da579598ebfbf47b5ac9716650e8e
parent3491607e70beb01849d50dd2b6b09eda218b30df (diff)
[Folder View] Hide item label while renaming
When item has multiple lines and you clear the rename input field, it would shrink to one line revealing the original text underneath. Differential Revision: https://phabricator.kde.org/D4894
-rw-r--r--containments/desktop/package/contents/ui/FolderItemDelegate.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/containments/desktop/package/contents/ui/FolderItemDelegate.qml b/containments/desktop/package/contents/ui/FolderItemDelegate.qml
index 932a8fb..095450a 100644
--- a/containments/desktop/package/contents/ui/FolderItemDelegate.qml
+++ b/containments/desktop/package/contents/ui/FolderItemDelegate.qml
@@ -326,6 +326,8 @@ Item {
text: model.blank ? "" : model.display
font.italic: model.isLink
+
+ visible: editor.targetItem != main
}
Column {
@@ -434,6 +436,8 @@ Item {
color: "black"
source: label
+
+ visible: editor.targetItem != main
}
}