aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets/qml/main.qml
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-02-20 05:36:35 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-02-20 05:36:35 +0800
commit07c34751da96e3daa023b028494ef1c86cf6d1fc (patch)
tree9ae6e648b6f24d402205fb80f81026fa826e61e7 /cmd/mist/assets/qml/main.qml
parent4322632c5924ef9aaaad1cdcdfa2f796c493cf69 (diff)
parentacd93c29711f18787ec3392751f57ffe08b5df28 (diff)
downloadgo-tangerine-07c34751da96e3daa023b028494ef1c86cf6d1fc.tar
go-tangerine-07c34751da96e3daa023b028494ef1c86cf6d1fc.tar.gz
go-tangerine-07c34751da96e3daa023b028494ef1c86cf6d1fc.tar.bz2
go-tangerine-07c34751da96e3daa023b028494ef1c86cf6d1fc.tar.lz
go-tangerine-07c34751da96e3daa023b028494ef1c86cf6d1fc.tar.xz
go-tangerine-07c34751da96e3daa023b028494ef1c86cf6d1fc.tar.zst
go-tangerine-07c34751da96e3daa023b028494ef1c86cf6d1fc.zip
Merge pull request #335 from alexvandesande/ui
Cut, Copy, Undo and Redo working in webview
Diffstat (limited to 'cmd/mist/assets/qml/main.qml')
-rw-r--r--cmd/mist/assets/qml/main.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/mist/assets/qml/main.qml b/cmd/mist/assets/qml/main.qml
index f9bfd9b8d..65f38f8bd 100644
--- a/cmd/mist/assets/qml/main.qml
+++ b/cmd/mist/assets/qml/main.qml
@@ -131,7 +131,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);
}
}