From 45f74a345d3539b679bf1ac681812137ad85fffe Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Tue, 2 Dec 2014 19:51:01 +0100 Subject: - Quit only if really wanted - removed BP --- modules/rpmdragora/rpmdragora | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'modules/rpmdragora') diff --git a/modules/rpmdragora/rpmdragora b/modules/rpmdragora/rpmdragora index 9a91a7f9..f1b268ad 100755 --- a/modules/rpmdragora/rpmdragora +++ b/modules/rpmdragora/rpmdragora @@ -137,8 +137,6 @@ sub tree_callback { #OLD $model && $iter or return; $selection or return; - $DB::single = 1; - my $fullname = $selection->label(); my $it = $selection; while ($it = $it->parent()) { @@ -1188,8 +1186,7 @@ sub run_treeview_dialog { detaillist_callback($detail_list->selectedItem(), $info, \%$options); } elsif ($widget == $QuitButton) { - quit(); - last; + last if quit(); } } -- cgit v1.2.1