aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/gui.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-29 18:24:14 +0800
committerobscuren <geffobscura@gmail.com>2014-05-29 18:24:14 +0800
commitefadfbfb1779549c2898304dce4bbce30b067ceb (patch)
tree930a112d04e35aa67a46cda800fd7b040006bf58 /ethereal/ui/gui.go
parent8ee6574d12601df7a8edb56ee9ccc4cfce7ef6a8 (diff)
downloadgo-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar
go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.gz
go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.bz2
go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.lz
go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.xz
go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.tar.zst
go-tangerine-efadfbfb1779549c2898304dce4bbce30b067ceb.zip
Minor UI changes
* Moved log from block view * Prepend instead of append for logs
Diffstat (limited to 'ethereal/ui/gui.go')
-rw-r--r--ethereal/ui/gui.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereal/ui/gui.go b/ethereal/ui/gui.go
index 1698f5de0..9a8673a1c 100644
--- a/ethereal/ui/gui.go
+++ b/ethereal/ui/gui.go
@@ -66,7 +66,6 @@ func (gui *Gui) Start(assetPath string) {
}})
ethutil.Config.SetClientString(fmt.Sprintf("/Ethereal v%s", version))
- ethutil.Config.Log.Infoln("[GUI] Starting GUI")
// Create a new QML engine
gui.engine = qml.NewEngine()
context := gui.engine.Context()
@@ -93,6 +92,9 @@ func (gui *Gui) Start(assetPath string) {
panic(err)
}
+ ethutil.Config.Log.AddLogSystem(gui)
+ ethutil.Config.Log.Infoln("[GUI] Starting GUI")
+
win.Show()
win.Wait()