aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-12 18:21:50 +0800
committerobscuren <geffobscura@gmail.com>2014-08-12 18:21:50 +0800
commitdc3b0e170c4c5659d5534ee6b6b6db700790dfc5 (patch)
tree596cc82b7ec91bcc7f186dafe0bf3fa137c5cc7c
parent59d9746849e9ba794a190b04d3d9f444321b82b8 (diff)
downloaddexon-dc3b0e170c4c5659d5534ee6b6b6db700790dfc5.tar.gz
dexon-dc3b0e170c4c5659d5534ee6b6b6db700790dfc5.tar.zst
dexon-dc3b0e170c4c5659d5534ee6b6b6db700790dfc5.zip
Name changes
-rw-r--r--ethereal/assets/qml/wallet.qml25
-rw-r--r--ethereal/gui.go2
-rw-r--r--ethereal/ui_lib.go1
3 files changed, 16 insertions, 12 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
diff --git a/ethereal/gui.go b/ethereal/gui.go
index e0a415201..78a930e02 100644
--- a/ethereal/gui.go
+++ b/ethereal/gui.go
@@ -106,11 +106,13 @@ func (gui *Gui) Start(assetPath string) {
logger.Infoln("Starting GUI")
gui.open = true
win.Show()
+
// only add the gui logger after window is shown otherwise slider wont be shown
if addlog {
ethlog.AddLogSystem(gui)
}
win.Wait()
+
// need to silence gui logger after window closed otherwise logsystem hangs (but do not save loglevel)
gui.logLevel = ethlog.Silence
gui.open = false
diff --git a/ethereal/ui_lib.go b/ethereal/ui_lib.go
index 1d9085fcb..b7cabf3a8 100644
--- a/ethereal/ui_lib.go
+++ b/ethereal/ui_lib.go
@@ -112,7 +112,6 @@ func (self *UiLib) StartDbWithCode(code string) {
func (self *UiLib) StartDebugger() {
dbWindow := NewDebuggerWindow(self)
- //self.DbWindow = dbWindow
dbWindow.Show()
}