diff options
author | Maarten Vanraes <alien@mageia.org> | 2015-11-30 19:23:27 +0100 |
---|---|---|
committer | Maarten Vanraes <alien@mageia.org> | 2015-11-30 19:25:16 +0100 |
commit | ee5cdfa7883cc6b0517b5ff5b3c5baeaefd51866 (patch) | |
tree | 0a8146e2264842c45c836ff8d1bb0906ff3ed948 /lib/ManaTools/Shared | |
parent | 6e74cd0e19021eb19e71c92c3a36acd8b8615718 (diff) | |
download | manatools-ee5cdfa7883cc6b0517b5ff5b3c5baeaefd51866.tar manatools-ee5cdfa7883cc6b0517b5ff5b3c5baeaefd51866.tar.gz manatools-ee5cdfa7883cc6b0517b5ff5b3c5baeaefd51866.tar.bz2 manatools-ee5cdfa7883cc6b0517b5ff5b3c5baeaefd51866.tar.xz manatools-ee5cdfa7883cc6b0517b5ff5b3c5baeaefd51866.zip |
eventHandler attribute requires to be an EventHandler Role
Diffstat (limited to 'lib/ManaTools/Shared')
-rw-r--r-- | lib/ManaTools/Shared/GUI/EventRole.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ManaTools/Shared/GUI/EventRole.pm b/lib/ManaTools/Shared/GUI/EventRole.pm index f28b25ac..02376b81 100644 --- a/lib/ManaTools/Shared/GUI/EventRole.pm +++ b/lib/ManaTools/Shared/GUI/EventRole.pm @@ -73,7 +73,7 @@ requires 'processEvent'; has 'eventHandler' => ( is => 'ro', - isa => 'ManaTools::Shared::GUI::EventHandlerRole', + does => 'ManaTools::Shared::GUI::EventHandlerRole', required => 1, ); |