aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2016-03-15 23:51:12 +0100
committerMaarten Vanraes <alien@mageia.org>2016-03-16 00:31:37 +0100
commit45ba2c5829b36b713a0a5b5cdfbe9ca4c988e0af (patch)
treeee7b95891247ceb49f9cb65494dfe4b83682a75f /lib
parentee63f88972f6e2034648f67d4f3be0bfb2b188e9 (diff)
downloadmanatools-45ba2c5829b36b713a0a5b5cdfbe9ca4c988e0af.tar
manatools-45ba2c5829b36b713a0a5b5cdfbe9ca4c988e0af.tar.gz
manatools-45ba2c5829b36b713a0a5b5cdfbe9ca4c988e0af.tar.bz2
manatools-45ba2c5829b36b713a0a5b5cdfbe9ca4c988e0af.tar.xz
manatools-45ba2c5829b36b713a0a5b5cdfbe9ca4c988e0af.zip
Event Role: fix unique name
Diffstat (limited to 'lib')
-rw-r--r--lib/ManaTools/Shared/GUI/EventRole.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ManaTools/Shared/GUI/EventRole.pm b/lib/ManaTools/Shared/GUI/EventRole.pm
index e8dd2489..14c91517 100644
--- a/lib/ManaTools/Shared/GUI/EventRole.pm
+++ b/lib/ManaTools/Shared/GUI/EventRole.pm
@@ -122,7 +122,7 @@ sub uniqueName {
while ($eventHandler->hasEvent($name . $i)) {
$i = $i + 1;
}
- return $name;
+ return $name . $i;
}
has 'eventType' => (