mirror of
https://github.com/Luzifer/streamdeck.git
synced 2024-12-20 09:41:19 +00:00
Fix: Allow multi-actions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
ee03bde2de
commit
73162a3dda
1 changed files with 3 additions and 1 deletions
|
@ -225,7 +225,9 @@ func togglePage(page string) error {
|
|||
func triggerAction(kd keyDefinition) error {
|
||||
for _, a := range kd.Actions {
|
||||
if a.Type != "" {
|
||||
return callAction(a)
|
||||
if err := callAction(a); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue