From 53d5c490beac3e5bad4b149fa947393aacface8f Mon Sep 17 00:00:00 2001 From: JoeG Date: Wed, 22 Oct 2014 22:50:47 +0100 Subject: [PATCH] Fix right-click context menu of block chain view. --- mist/assets/qml/views/chain.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mist/assets/qml/views/chain.qml b/mist/assets/qml/views/chain.qml index 93bff2d973..c4ceecfc05 100644 --- a/mist/assets/qml/views/chain.qml +++ b/mist/assets/qml/views/chain.qml @@ -8,7 +8,7 @@ import Ethereum 1.0 Rectangle { id: root - property var title: "Block chain" + property var title: "Block Chain" property var menuItem objectName: "chainView" @@ -63,12 +63,12 @@ Rectangle { Menu { id: contextMenu - property var row; + property var row MenuItem { text: "Details" onTriggered: { popup.visible = true - popup.setDetails(blockModel.get(this.row)) + popup.setDetails(blockModel.get(contextMenu.row)) } } @@ -77,7 +77,7 @@ Rectangle { MenuItem { text: "Copy" onTriggered: { - copyToClipboard(blockModel.get(this.row).hash) + copyToClipboard(blockModel.get(contextMenu.row).hash) } } @@ -85,7 +85,7 @@ Rectangle { text: "Dump State" onTriggered: { generalFileDialog.show(false, function(path) { - var hash = blockModel.get(this.row).hash; + var hash = blockModel.get(contextMenu.row).hash; gui.dumpState(hash, path); });