Workaround for TapHandler+ColumnView issues

This commit is contained in:
Bart De Vries 2024-02-07 13:45:37 +01:00
parent 8bafa91de1
commit def54ae6f7
1 changed files with 2 additions and 1 deletions

View File

@ -130,8 +130,9 @@ AddonDelegates.RoundedItemDelegate {
acceptedModifiers: Qt.NoModifier
acceptedButtons: Qt.LeftButton | Qt.RightButton
exclusiveSignals: Kirigami.Settings.isMobile ? (TapHandler.SingleTap | TapHandler.DoubleTap) : TapHandler.NotExclusive
onTapped: (eventPoint, button) => {
onSingleTapped: (eventPoint, button) => {
// Keep track of (currently) selected items
const modelIndex = listItem.listViewObject.model.index(index, 0);