diff options
author | Alexandre Van de Sande <alex.vandesande@ethdev.com> | 2015-02-18 17:25:40 +0800 |
---|---|---|
committer | Alexandre Van de Sande <alex.vandesande@ethdev.com> | 2015-02-18 17:25:40 +0800 |
commit | acd93c29711f18787ec3392751f57ffe08b5df28 (patch) | |
tree | b95c6be3a30947dee779fa7b52960dce82a6d1b1 /cmd/mist/assets/qml/main.qml | |
parent | 0e2f6691bfbbcc666c409be6b8657bd6ca475ddd (diff) | |
download | go-tangerine-acd93c29711f18787ec3392751f57ffe08b5df28.tar go-tangerine-acd93c29711f18787ec3392751f57ffe08b5df28.tar.gz go-tangerine-acd93c29711f18787ec3392751f57ffe08b5df28.tar.bz2 go-tangerine-acd93c29711f18787ec3392751f57ffe08b5df28.tar.lz go-tangerine-acd93c29711f18787ec3392751f57ffe08b5df28.tar.xz go-tangerine-acd93c29711f18787ec3392751f57ffe08b5df28.tar.zst go-tangerine-acd93c29711f18787ec3392751f57ffe08b5df28.zip |
Removed console logs from mist.js
also fixed an issue where it would force reloads unnecessarily
Diffstat (limited to 'cmd/mist/assets/qml/main.qml')
-rw-r--r-- | cmd/mist/assets/qml/main.qml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cmd/mist/assets/qml/main.qml b/cmd/mist/assets/qml/main.qml index 9a6bf5273..78a6dd846 100644 --- a/cmd/mist/assets/qml/main.qml +++ b/cmd/mist/assets/qml/main.qml @@ -132,7 +132,11 @@ ApplicationWindow { var existingDomain = matches && matches[1]; if (requestedDomain == existingDomain) { domainAlreadyOpen = true; - mainSplit.views[i].view.url = url; + + if (mainSplit.views[i].view.url != url){ + mainSplit.views[i].view.url = url; + } + activeView(mainSplit.views[i].view, mainSplit.views[i].menuItem); } } @@ -888,7 +892,7 @@ ApplicationWindow { function addPeer(peer) { peerModel.append(peer) } function setPeerCounters(text) { - peerCounterLabel.text = text + //peerCounterLabel.text = text } function timeAgo(unixTs){ |