1
0
Fork 0
mirror of https://github.com/Luzifer/streamdeck.git synced 2024-12-29 22:21:24 +00:00

Fix: Allow multi-actions

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-04-17 19:12:55 +02:00
parent ee03bde2de
commit 73162a3dda
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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
}
}
}