diff options
| author | Jeff Carr <[email protected]> | 2019-05-26 23:37:08 -0700 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2019-05-26 23:37:08 -0700 |
| commit | e23138d675243828d8982631deb69d200572b184 (patch) | |
| tree | e0378ad01d08ef74ce78416e31d784521c39aa51 /mainCloudBox.go | |
| parent | 58209fde5d2f88b6f43565cfc5e6f08d5190dc0f (diff) | |
map create vm tab to the account
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'mainCloudBox.go')
| -rw-r--r-- | mainCloudBox.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mainCloudBox.go b/mainCloudBox.go index f474f83..ebfd205 100644 --- a/mainCloudBox.go +++ b/mainCloudBox.go @@ -356,7 +356,7 @@ func CreateVmBox(tab *ui.Tab, vm *pb.Event_VM) { tab.SetMargined(0, true) } -func createAddVmBox(tab *ui.Tab, name string) { +func createAddVmBox(tab *ui.Tab, name string, b *ButtonMap) { log.Println("createAddVmBox() START") vbox := ui.NewVerticalBox() vbox.SetPadded(true) @@ -377,6 +377,7 @@ func createAddVmBox(tab *ui.Tab, name string) { hboxButtons.Append(CreateButton(nil, nil, "Add Virtual Machine","ADD", nil), false) hboxButtons.Append(CreateButton(nil, nil, "Cancel", "CLOSE", nil), false) + name += " (" + b.Account.Nick + ")" tab.Append(name, vbox) tab.SetMargined(0, true) } |
