mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Update listeners definitions
This commit is contained in:
parent
1a25fd0740
commit
68dbd90413
@ -177,7 +177,7 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
onPressed: {
|
||||
onPressed: mouse => {
|
||||
var ci = grid.currentIndex; //save current index
|
||||
|
||||
/*if(mouse.button != Qt.RightButton && !(mouse.modifiers & Qt.ControlModifier || mouse.modifiers & Qt.ShiftModifier))
|
||||
@ -250,7 +250,7 @@ Rectangle {
|
||||
|
||||
}
|
||||
|
||||
onReleased: {
|
||||
onReleased: mouse => {
|
||||
if(mouse.button === Qt.LeftButton && !(mouse.modifiers & Qt.ControlModifier || mouse.modifiers & Qt.ShiftModifier))
|
||||
{
|
||||
if(comicsSelectionHelper.isSelectedIndex(index))
|
||||
|
Loading…
Reference in New Issue
Block a user