diff options
| author | Jeff Carr <[email protected]> | 2019-06-02 21:56:43 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-06-02 21:56:43 -0700 |
| commit | 4c76bfac47ff1ac0a9901e489e11c97b537168d7 (patch) | |
| tree | fe34b5e4f3a3ee5219492e4fe9d23b3c70bf66d7 /gui.go | |
| parent | 2e99dd55bd8fa57958e23085362ab401c995d8b2 (diff) | |
remove 'Action'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -22,7 +22,7 @@ func InitGuiWindow(action string, gw *GuiWindow) *GuiWindow { var newGuiWindow GuiWindow newGuiWindow.Width = Config.Width newGuiWindow.Height = Config.Height - newGuiWindow.Action = action +// newGuiWindow.Action = action newGuiWindow.MakeWindow = gw.MakeWindow newGuiWindow.UiWindow = gw.UiWindow newGuiWindow.UiTab = gw.UiTab @@ -40,13 +40,13 @@ func StartNewWindow(bg bool, action string, callback func(*GuiWindow) *GuiBox) { log.Println("StartNewWindow() Create a new window") var junk GuiWindow junk.MakeWindow = callback - junk.Action = action +// junk.Action = action window := InitGuiWindow(action, &junk) if (bg) { log.Println("StartNewWindow() START NEW GOROUTINE for ui.Main()") go ui.Main(func() { log.Println("gui.StartNewWindow() inside ui.Main()") - InitTabWindow(window) + go InitTabWindow(window) }) time.Sleep(2000 * time.Millisecond) // this might make it more stable on windows? } else { |
