Skip to content

Commit 31fdc64

Browse files
committed
cmd + t switches to new dapp window
1 parent 3f6baa4 commit 31fdc64

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎cmd/mist/assets/qml/main.qml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ApplicationWindow {
1717
// Use this to make the window frameless. But then you'll need to do move and resize by hand
1818

1919
property var ethx : Eth.ethx
20+
property var catalog;
2021

2122
width: 1200
2223
height: 820
@@ -39,7 +40,7 @@ ApplicationWindow {
3940
// Takes care of loading all default plugins
4041
Component.onCompleted: {
4142

42-
var catalog = addPlugin("./views/catalog.qml", {noAdd: true, close: false, section: "begin"});
43+
catalog = addPlugin("./views/catalog.qml", {noAdd: true, close: false, section: "begin"});
4344
var wallet = addPlugin("./views/wallet.qml", {noAdd: true, close: false, section: "ethereum", active: true});
4445

4546
addPlugin("./views/miner.qml", {noAdd: true, close: false, section: "ethereum", active: true});
@@ -169,7 +170,7 @@ ApplicationWindow {
169170
text: "New tab"
170171
shortcut: "Ctrl+t"
171172
onTriggered: {
172-
newBrowserTab("http://etherian.io");
173+
activeView(catalog.view, catalog.menuItem);
173174
}
174175
}
175176

0 commit comments

Comments
 (0)