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 /entry.go | |
| parent | 2e99dd55bd8fa57958e23085362ab401c995d8b2 (diff) | |
remove 'Action'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'entry.go')
| -rw-r--r-- | entry.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,7 +107,7 @@ func defaultEntryChange(e *ui.Entry) { } if Data.AllEntries[key].UiEntry == e { log.Println("defaultEntryChange() FOUND", - "action =", Data.AllEntries[key].Action, + "Name =", Data.AllEntries[key].Name, "Last =", Data.AllEntries[key].Last, "e.Text() =", e.Text()) Data.AllEntries[key].Last = e.Text() @@ -133,7 +133,7 @@ func defaultMakeEntry(startValue string, edit bool, action string) *GuiEntry { var newEntry GuiEntry newEntry.UiEntry = e newEntry.Edit = edit - newEntry.Action = action + newEntry.Name = action if (action == "INT") { newEntry.Normalize = normalizeInt } |
