From b459f8fedcdf0f7589862d11ca7b2fbaf2dfc91e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 17 Mar 2017 11:41:49 +0100 Subject: [PATCH] =?utf8?q?ActionBar:=20nicht=20=C2=BBcontinue=C2=AB,=20son?= =?utf8?q?dern=20=C2=BBnext=C2=AB=20f=C3=BCr=20Short-Circuit=20einer=20Sch?= =?utf8?q?leife?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Layout/ActionBar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Layout/ActionBar.pm b/SL/Layout/ActionBar.pm index fa86d16ac..3279ba8dc 100644 --- a/SL/Layout/ActionBar.pm +++ b/SL/Layout/ActionBar.pm @@ -59,7 +59,7 @@ sub parse_actions { while (my $type = shift(@actions)) { if (blessed($type) && $type->isa('SL::Layout::ActionBar::Action')) { push @parsed, $type; - continue; + next; } my $descriptor = $class_descriptors{lc $type} || croak("Unknown action type '${type}'"); -- 2.20.1