diff options
author | Maarten Vanraes <alien@mageia.org> | 2016-05-08 00:08:30 +0200 |
---|---|---|
committer | Maarten Vanraes <alien@mageia.org> | 2016-05-08 09:58:05 +0200 |
commit | 4ccaefd924024f642fe07a83542240ce7921f029 (patch) | |
tree | f64fe8e0ad021356cb10bbf00440956bb414217a /lib | |
parent | d652078a5ed9a0bda7876b80003aefa7a794bfaa (diff) | |
download | manatools-4ccaefd924024f642fe07a83542240ce7921f029.tar manatools-4ccaefd924024f642fe07a83542240ce7921f029.tar.gz manatools-4ccaefd924024f642fe07a83542240ce7921f029.tar.bz2 manatools-4ccaefd924024f642fe07a83542240ce7921f029.tar.xz manatools-4ccaefd924024f642fe07a83542240ce7921f029.zip |
push after label is set
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ManaTools/Shared/GUI/ExtWidget.pm | 2 |
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); |