mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 01:15:35 +00:00
widget: fix Enum.Changed to reset changed status
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ func index(vs []string, t string) int {
|
||||
// call to Changed.
|
||||
func (e *Enum) Changed() bool {
|
||||
changed := e.changed
|
||||
e.changed = true
|
||||
e.changed = false
|
||||
return changed
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user