Skip to content
Snippets Groups Projects
Commit e1596650 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Jean-Baptiste Kempf
Browse files

qml: correct ListView.delayRemove assignation in TableViewDelegate

ListView.delayRemove should apply to the
delegate, which has id: delegate, and not
the root.
parent 203e8e44
No related branches found
No related tags found
Loading
Pipeline #169893 passed with stage
in 18 minutes and 2 seconds
......@@ -36,12 +36,16 @@ T.Control {
property int _modifiersOnLastPress: Qt.NoModifier
readonly property bool dragActive: hoverArea.drag.active
// Settings
width: view.width
height: root.rowHeight
ListView.delayRemove: dragActive
// Connections
Connections {
......@@ -139,8 +143,6 @@ T.Control {
}
root.dragItem.Drag.active = drag.active;
root.ListView.delayRemove = drag.active;
}
// Childs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment