diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index d34e9a5f4..88a102b41 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -283,7 +283,7 @@ sub create_treeview_tree { }); $tree->signal_connect(button_press_event => sub { $selected_via_click = 1; - &$double_click if !$tree_model->iter_has_child($curr) && $double_click; + &$double_click if $curr && !$tree_model->iter_has_child($curr) && $double_click; }); $tree, sub { |