fixed bug causing start drag on show context menu in the grid view

This commit is contained in:
Luis Ángel San Martín 2016-03-20 12:32:10 +01:00
parent af3fefdbd9
commit fff2f82955

View File

@ -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
{