aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ManaTools/Shared/GUI/ExtWidget.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ManaTools/Shared/GUI/ExtWidget.pm b/lib/ManaTools/Shared/GUI/ExtWidget.pm
index a0bad96a..43c00394 100644
--- a/lib/ManaTools/Shared/GUI/ExtWidget.pm
+++ b/lib/ManaTools/Shared/GUI/ExtWidget.pm
@@ -375,8 +375,8 @@ sub addSelectorItem {
my $buildWidget = shift;
my $items = $self->items();
my $item = ManaTools::Shared::GUI::ExtWidget::Item->new(backend => $backendItem, builder => $buildWidget);
- push @{$items}, $item;
$item->setLabel($label);
+ push @{$items}, $item;
$item->addToCollection($self->itemcollection());
if (scalar(@{$items}) == 1) {
$self->lastItem($item);