Minor UI changes
* Moved log from block view * Prepend instead of append for logs
This commit is contained in:
@ -83,6 +83,7 @@ func (self *DebuggerWindow) Debug(valueStr, gasStr, gasPriceStr, scriptStr, data
|
||||
|
||||
dis := ethchain.Disassemble(script)
|
||||
self.win.Root().Call("clearAsm")
|
||||
self.win.Root().Call("clearLog")
|
||||
|
||||
for _, str := range dis {
|
||||
self.win.Root().Call("setAsm", str)
|
||||
|
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user