diff options
Diffstat (limited to 'ethereal/assets')
-rw-r--r-- | ethereal/assets/qml/wallet.qml | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index 10cbe5c1e..af9a61105 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -318,14 +318,6 @@ ApplicationWindow { } - function importApp(path) { - var ext = path.split('.').pop() - if(ext == "html" || ext == "htm") { - ui.openHtml(path) - }else if(ext == "qml"){ - ui.openQml(path) - } - } /****************** * Dialogs @@ -340,6 +332,17 @@ ApplicationWindow { } + /****************** + * Wallet functions + *****************/ + function importApp(path) { + var ext = path.split('.').pop() + if(ext == "html" || ext == "htm") { + ui.openHtml(path) + }else if(ext == "qml"){ + ui.openQml(path) + } + } function setWalletValue(value) { walletValueLabel.text = value @@ -381,9 +384,9 @@ ApplicationWindow { return time; } - // ****************************************** - // Windows - // ****************************************** + /********************** + * Windows + *********************/ Window { id: peerWindow //flags: Qt.CustomizeWindowHint | Qt.Tool | Qt.WindowCloseButtonHint |