From 3238894a3ba4767773849eabb7c0892554d32874 Mon Sep 17 00:00:00 2001
From: obscuren <geffobscura@gmail.com>
Date: Fri, 11 Apr 2014 12:50:31 -0400
Subject: Added wip debugger

---
 ethereal/ui/gui.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'ethereal/ui/gui.go')

diff --git a/ethereal/ui/gui.go b/ethereal/ui/gui.go
index 89736ac29..32e7edbdc 100644
--- a/ethereal/ui/gui.go
+++ b/ethereal/ui/gui.go
@@ -53,7 +53,6 @@ type Gui struct {
 	txDb *ethdb.LDBDatabase
 
 	addr []byte
-
 }
 
 // Create GUI, but doesn't start it
@@ -96,12 +95,13 @@ func (ui *Gui) Start(assetPath string) {
 	// Load the main QML interface
 	component, err := ui.engine.LoadFile(uiLib.AssetPath("qml/wallet.qml"))
 	if err != nil {
-   	ethutil.Config.Log.Infoln("FATAL: asset not found: you can set an alternative asset path on on the command line using option 'asset_path'")
+		ethutil.Config.Log.Infoln("FATAL: asset not found: you can set an alternative asset path on on the command line using option 'asset_path'")
 		panic(err)
 	}
 	ui.engine.LoadFile(uiLib.AssetPath("qml/transactions.qml"))
 
 	ui.win = component.CreateWindow(nil)
+	uiLib.win = ui.win
 
 	// Register the ui as a block processor
 	//ui.eth.BlockManager.SecondaryBlockProcessor = ui
-- 
cgit v1.2.3