diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/edit_urpm_sources.pm | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,6 @@ +- edit-urpm-sources: + o fix crashing when deleting media (mga#11895) + Version 6.1 - 5 December 2013, Thierry Vignaud - use introspection for Source too diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm index 662d061b..7c7fe434 100644 --- a/Rpmdrake/edit_urpm_sources.pm +++ b/Rpmdrake/edit_urpm_sources.pm @@ -87,9 +87,9 @@ sub selrow { sub selected_rows { my ($o_list_tv) = @_; defined $o_list_tv or $o_list_tv = $list_tv; - my (@rows) = $o_list_tv->get_selection->get_selected_rows; - return -1 if @rows == 0; - map { $_->to_string } @rows; + my ($rows) = $o_list_tv->get_selection->get_selected_rows; + return -1 if @$rows == 0; + map { $_->to_string } @$rows; } sub remove_row { |