From fff2f829553d24ec939d5f5b7727094c09754661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 20 Mar 2016 12:32:10 +0100 Subject: [PATCH] fixed bug causing start drag on show context menu in the grid view --- YACReaderLibrary/qml/GridComicsView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YACReaderLibrary/qml/GridComicsView.qml b/YACReaderLibrary/qml/GridComicsView.qml index add4eca9..476921f1 100644 --- a/YACReaderLibrary/qml/GridComicsView.qml +++ b/YACReaderLibrary/qml/GridComicsView.qml @@ -126,7 +126,6 @@ Rectangle { if(mouse.button == Qt.RightButton) // context menu is requested { - if(!comicsSelectionHelper.isSelectedIndex(index)) //the context menu is requested outside the current selection, the selection will be { comicsSelectionHelper.setCurrentIndex(index) @@ -135,6 +134,7 @@ Rectangle { var coordinates = main.mapFromItem(realCell,mouseX,mouseY) contextMenuHelper.requestedContextMenu(Qt.point(coordinates.x,coordinates.y)); + mouse.accepted = false; } else //left button {