Disabled buttons are not selectable
This commit is contained in:
parent
80aafdf60c
commit
c34e3cd91e
@ -112,7 +112,7 @@ func (element *Button) AdvanceSelection (direction int) (ok bool) {
|
||||
}
|
||||
|
||||
func (element *Button) Selectable () (selectable bool) {
|
||||
return true
|
||||
return element.enabled
|
||||
}
|
||||
|
||||
func (element *Button) Select () {
|
||||
|
Reference in New Issue
Block a user