Name changes

This commit is contained in:
obscuren
2014-08-12 12:21:50 +02:00
parent 59d9746849
commit dc3b0e170c
3 changed files with 16 additions and 12 deletions

View File

@ -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