mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed selection issue in grid view
This commit is contained in:
parent
433e1ef71c
commit
1e475e24f4
@ -150,11 +150,14 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onReleased: {
|
onReleased: {
|
||||||
/*if(mouse.button != Qt.RightButton && !(mouse.modifiers & Qt.ControlModifier || mouse.modifiers & Qt.ShiftModifier))
|
if(mouse.button == Qt.LeftButton && !(mouse.modifiers & Qt.ControlModifier || mouse.modifiers & Qt.ShiftModifier))
|
||||||
{
|
{
|
||||||
comicsSelectionHelper.setCurrentIndex(index)
|
if(comicsSelectionHelper.isSelectedIndex(index))
|
||||||
grid.currentIndex = index;
|
{
|
||||||
}*/
|
comicsSelectionHelper.setCurrentIndex(index)
|
||||||
|
grid.currentIndex = index;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user