Workaround for TapHandler+ColumnView issues
This commit is contained in:
parent
e933affdca
commit
56c410c5c9
@ -129,8 +129,9 @@ AddonDelegates.RoundedItemDelegate {
|
|||||||
|
|
||||||
acceptedModifiers: Qt.NoModifier
|
acceptedModifiers: Qt.NoModifier
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
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
|
// Keep track of (currently) selected items
|
||||||
const modelIndex = listItem.listViewObject.model.index(index, 0);
|
const modelIndex = listItem.listViewObject.model.index(index, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user