From 53d5c490beac3e5bad4b149fa947393aacface8f Mon Sep 17 00:00:00 2001 From: JoeG Date: Wed, 22 Oct 2014 22:50:47 +0100 Subject: [PATCH 1/2] 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); }); From 1880c6b3dc837165b7c9ed9bcefefada4f627b58 Mon Sep 17 00:00:00 2001 From: JoeG Date: Wed, 22 Oct 2014 23:00:22 +0100 Subject: [PATCH 2/2] Make tab capitisation consistent --- mist/assets/qml/views/transaction.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mist/assets/qml/views/transaction.qml b/mist/assets/qml/views/transaction.qml index 744a4da65d..8792e31eb2 100644 --- a/mist/assets/qml/views/transaction.qml +++ b/mist/assets/qml/views/transaction.qml @@ -7,7 +7,7 @@ import QtQuick.Controls.Styles 1.1 import Ethereum 1.0 Rectangle { - property var title: "New transaction" + property var title: "New Transaction" property var menuItem objectName: "newTxView"