mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed Drag.target in grid view, wrong MouseArea was being used.
This commit is contained in:
parent
9325eb5a7b
commit
36c9ac804f
@ -28,8 +28,6 @@ Rectangle {
|
|||||||
height: grid.cellHeight
|
height: grid.cellHeight
|
||||||
color: backgroundColor
|
color: backgroundColor
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: mouseArea
|
|
||||||
drag.target: realCell
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: {
|
onClicked: {
|
||||||
comicsSelectionHelper.clear();
|
comicsSelectionHelper.clear();
|
||||||
@ -53,6 +51,8 @@ Rectangle {
|
|||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
id: mouseArea
|
||||||
|
drag.target: realCell
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||||
onDoubleClicked: {
|
onDoubleClicked: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user