We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27735bb commit e12abfdCopy full SHA for e12abfd
ethereal/assets/qml/views/chain.qml
@@ -38,15 +38,22 @@ Rectangle {
38
text: styleData.value
39
font.pixelSize: 11
40
MouseArea {
41
- acceptedButtons: Qt.RightButton
+ acceptedButtons: Qt.LeftButton | Qt.RightButton
42
propagateComposedEvents: true
43
anchors.fill: parent
44
onClicked: {
45
blockTable.selection.clear()
46
blockTable.selection.select(styleData.row)
47
48
- contextMenu.row = styleData.row;
49
- contextMenu.popup()
+ if(mouse.button == Qt.RightButton) {
+ contextMenu.row = styleData.row;
50
+ contextMenu.popup()
51
+ }
52
53
+
54
+ onDoubleClicked: {
55
+ popup.visible = true
56
+ popup.setDetails(blockModel.get(styleData.row))
57
}
58
59
0 commit comments