From 30df2cbb133392359e4e80d9f0d954ace7217f6d Mon Sep 17 00:00:00 2001 From: Maarten Vanraes Date: Mon, 21 Mar 2016 20:49:51 +0100 Subject: Properties GUI: fix Role validation --- lib/ManaTools/Shared/GUI/Properties.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ManaTools/Shared/GUI/Properties.pm b/lib/ManaTools/Shared/GUI/Properties.pm index 27778da2..ab86f4a7 100644 --- a/lib/ManaTools/Shared/GUI/Properties.pm +++ b/lib/ManaTools/Shared/GUI/Properties.pm @@ -101,7 +101,9 @@ has 'parentWidget' => ( has 'properties' => ( is => 'rw', - does => 'Maybe[ManaTools::Shared::PropertiesRole]', + does => 'ManaTools::Shared::PropertiesRole', + required => 0, + lazy => 1, trigger => \&refresh, default => undef, ); -- cgit v1.2.1