aboutsummaryrefslogtreecommitdiffstats
path: root/mist/assets/qml/views/chain.qml
diff options
context:
space:
mode:
authorJoeG <joegoulden@gmail.com>2014-10-23 05:50:47 +0800
committerJoeG <joegoulden@gmail.com>2014-10-23 05:50:47 +0800
commit53d5c490beac3e5bad4b149fa947393aacface8f (patch)
treef9da356cb3fe62ff0198896e83c8ba0c255e5e6b /mist/assets/qml/views/chain.qml
parentce05634f383dbda0c5b26ff80e95a53647a17886 (diff)
downloaddexon-53d5c490beac3e5bad4b149fa947393aacface8f.tar
dexon-53d5c490beac3e5bad4b149fa947393aacface8f.tar.gz
dexon-53d5c490beac3e5bad4b149fa947393aacface8f.tar.bz2
dexon-53d5c490beac3e5bad4b149fa947393aacface8f.tar.lz
dexon-53d5c490beac3e5bad4b149fa947393aacface8f.tar.xz
dexon-53d5c490beac3e5bad4b149fa947393aacface8f.tar.zst
dexon-53d5c490beac3e5bad4b149fa947393aacface8f.zip
Fix right-click context menu of block chain view.
Diffstat (limited to 'mist/assets/qml/views/chain.qml')
-rw-r--r--mist/assets/qml/views/chain.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/mist/assets/qml/views/chain.qml b/mist/assets/qml/views/chain.qml
index 93bff2d97..c4ceecfc0 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);
});