diff options
| author | Jeff Carr <[email protected]> | 2019-05-26 02:19:09 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-26 02:19:09 -0700 |
| commit | b251151328f04bd35208e38b1680f79ecfb29935 (patch) | |
| tree | 48bae99e2f8a57479839fdb57da2c0b8df27b151 /gui.go | |
| parent | 458e0f71397857899c295f805521bce1fb065701 (diff) | |
more code cleanups
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gui.go')
| -rw-r--r-- | gui.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -122,10 +122,12 @@ func ErrorWindow(msg1 string, msg2 string) { // defaultButtonClick() below when the button is found // in the AllButtons %map // TODO: clean up the text above +// TODO: remove this all together going only to main() func mouseClick(b *ButtonMap) { - log.Println("gui.mouseClick() START b =", b) - - if (b != nil) { + if (b == nil) { + log.Println("gui.mouseClick() START b = nil") + } else { + log.Println("gui.mouseClick() START b.Action =", b.Action) if (b.Action == "createAddVmBox") { log.Println("gui.mouseClick() createAddVmBox for b =", b) createAddVmBox(Data.cloudTab, "Create New Virtual Machine", mouseClick) |
