Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-05-26 17:29:01 -07:00
parent ce7788d613
commit 6d36172e2c
1 changed files with 9 additions and 0 deletions

View File

@ -270,6 +270,15 @@ func mainMouseClick(b *gui.ButtonMap) {
return
}
}
} else if (b.Action == "SHOW VM") {
gui.Data.CurrentVM = b.VM
if (gui.Data.Debug) {
log.Println("\tATTEMPTING TO SHOW VM IN WINDOW")
go gui.GoShowVM()
} else {
log.Println("\tATTEMPTING TO SHOW VM TAB")
gui.CreateVmBox(b.T, b.VM)
}
} else if (b.Action == "SHOW") {
log.Println("\tTRIGGER DISPLAY ACCOUNT")
gui.Data.State = "SEND WEBSOCKET"