aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools/Shared
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2016-03-21 20:49:51 +0100
committerMaarten Vanraes <alien@mageia.org>2016-03-25 19:28:40 +0100
commit30df2cbb133392359e4e80d9f0d954ace7217f6d (patch)
tree32e0ec72cfa9dbb540e69889b4ee1bd9a466c6b3 /lib/ManaTools/Shared
parentfd5ec7119a1f79e3a75934c26f1d718d6d4c58ab (diff)
downloadmanatools-30df2cbb133392359e4e80d9f0d954ace7217f6d.tar
manatools-30df2cbb133392359e4e80d9f0d954ace7217f6d.tar.gz
manatools-30df2cbb133392359e4e80d9f0d954ace7217f6d.tar.bz2
manatools-30df2cbb133392359e4e80d9f0d954ace7217f6d.tar.xz
manatools-30df2cbb133392359e4e80d9f0d954ace7217f6d.zip
Properties GUI: fix Role validation
Diffstat (limited to 'lib/ManaTools/Shared')
-rw-r--r--lib/ManaTools/Shared/GUI/Properties.pm4
1 files changed, 3 insertions, 1 deletions
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,
);