Skip to content

Commit

Permalink
Added empty TriggerAction method to BaseWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Jul 19, 2019
1 parent e67f337 commit c0d8f46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ func (w *BaseWidget) Action() *ActionConfig {
return w.action
}

func (w *BaseWidget) TriggerAction() {
}

func NewWidget(index uint8, id string, action *ActionConfig, config map[string]string) Widget {
bw := BaseWidget{index, action}

Expand Down

0 comments on commit c0d8f46

Please sign in to comment.