mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Don't display disabled widgets
This commit is contained in:
committed by
Chris Cummer
parent
ae13d52665
commit
79bc8216d6
@@ -30,7 +30,7 @@ func NewWidget() *Widget {
|
||||
/* -------------------- Exported Functions -------------------- */
|
||||
|
||||
func (widget *Widget) Refresh() {
|
||||
if widget.Enabled == false {
|
||||
if widget.Disabled() {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user