summaryrefslogtreecommitdiff
path: root/entry.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-06-02 21:01:18 -0700
committerJeff Carr <[email protected]>2019-06-02 21:01:18 -0700
commit2e99dd55bd8fa57958e23085362ab401c995d8b2 (patch)
tree10236276b4c9f2776a0089c6dc33c9f82b119872 /entry.go
parent52a7c95ca42eca86934bda14ffd20bd767ad552d (diff)
hopefully starting now it will be new features here
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'entry.go')
-rw-r--r--entry.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/entry.go b/entry.go
index 75c7f28..cd7cfba 100644
--- a/entry.go
+++ b/entry.go
@@ -7,8 +7,6 @@ import "github.com/andlabs/ui"
import _ "github.com/andlabs/ui/winmanifest"
import "github.com/davecgh/go-spew/spew"
-// THIS IS CLEAN (except the 'Memory' normalization example)
-
// functions for handling text entry boxes
func NewLabel(box *GuiBox, text string) {
@@ -136,7 +134,7 @@ func defaultMakeEntry(startValue string, edit bool, action string) *GuiEntry {
newEntry.UiEntry = e
newEntry.Edit = edit
newEntry.Action = action
- if (action == "Memory") {
+ if (action == "INT") {
newEntry.Normalize = normalizeInt
}
Data.AllEntries = append(Data.AllEntries, &newEntry)