From 88fd37855972babd77b3d01dd0bc65c559c055b2 Mon Sep 17 00:00:00 2001 From: Dmitry Karasik Date: Fri, 6 Dec 2024 21:42:07 +0100 Subject: [PATCH] don't crash when Layered checkbox is selected --- examples/menu.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/menu.pl b/examples/menu.pl index 1cc403d5..1aebc8ad 100644 --- a/examples/menu.pl +++ b/examples/menu.pl @@ -138,7 +138,7 @@ sub test_toplevels }]; push @menu, [ "-\@t2-$i", $img[$i], sub {}]; }; - TestWindow->new( + Prima::Window->new( menuItems => \@menu, size => [ 600, $::application->font->height ], text => 'Toplevel images',