summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-02 15:27:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-02 15:27:26 +0000
commitabe444f7b2a55d8ff146fe49f6967d45dfe243c6 (patch)
tree4a3925ae07cb09e35ed41ea8457d698e963a3610 /perl-install/interactive/gtk.pm
parentd011bfb4a676946a3c81618ec39257962e143c4e (diff)
downloaddrakx-backup-do-not-use-abe444f7b2a55d8ff146fe49f6967d45dfe243c6.tar
drakx-backup-do-not-use-abe444f7b2a55d8ff146fe49f6967d45dfe243c6.tar.gz
drakx-backup-do-not-use-abe444f7b2a55d8ff146fe49f6967d45dfe243c6.tar.bz2
drakx-backup-do-not-use-abe444f7b2a55d8ff146fe49f6967d45dfe243c6.tar.xz
drakx-backup-do-not-use-abe444f7b2a55d8ff146fe49f6967d45dfe243c6.zip
small fix when clicking on an empty tree (when allow_empty_list)
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm2
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 {