diff --git a/main.go b/main.go index ab57b32..18573a4 100644 --- a/main.go +++ b/main.go @@ -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"