aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2017-09-09 17:01:59 +0200
committerAngelo Naselli <anaselli@linux.it>2017-09-09 17:01:59 +0200
commitda53b368f9c81df5dfc2c64d7ff4cf5833ffd9ea (patch)
tree72a423a7d12084eba29be94c8fa899384c77d40b
parenta0b03b079368c576604fb05eb54219cbe15ac67f (diff)
downloadmanatools-da53b368f9c81df5dfc2c64d7ff4cf5833ffd9ea.tar
manatools-da53b368f9c81df5dfc2c64d7ff4cf5833ffd9ea.tar.gz
manatools-da53b368f9c81df5dfc2c64d7ff4cf5833ffd9ea.tar.bz2
manatools-da53b368f9c81df5dfc2c64d7ff4cf5833ffd9ea.tar.xz
manatools-da53b368f9c81df5dfc2c64d7ff4cf5833ffd9ea.zip
fixed malformed package-name if gpg keys group is chosen
-rw-r--r--lib/ManaTools/Rpmdragora/gui.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ManaTools/Rpmdragora/gui.pm b/lib/ManaTools/Rpmdragora/gui.pm
index 82c40bcf..e2ce37a2 100644
--- a/lib/ManaTools/Rpmdragora/gui.pm
+++ b/lib/ManaTools/Rpmdragora/gui.pm
@@ -1029,10 +1029,10 @@ sub ask_browse_tree_given_widgets_for_rpmdragora {
}
# name-version-release.arch
my $lastItem = $it ?
- ($it->cell(0)->label() . "-" .
- $it->cell(2)->label() . "-" .
- $it->cell(3)->label() . "." .
- $it->cell(4)->label()) :
+ (($it->cell(0) ? $it->cell(0)->label() : "") . "-" .
+ ($it->cell(2) ? $it->cell(2)->label() : "") . "-" .
+ ($it->cell(3) ? $it->cell(3)->label() : "") . "." .
+ ($it->cell(4) ? $it->cell(4)->label() : "")) :
"";
$w->{detail_list}->startMultipleChanges();