changeset 36095:042329ce1297

Fix segmentation fault. It would occur after a selection from the path combo box by pressing the return key.
author ib
date Tue, 30 Apr 2013 10:41:28 +0000
parents d94fff99b49b
children 2edbcc85bf5a
files gui/dialog/fileselect.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/fileselect.c	Tue Apr 30 06:56:45 2013 +0000
+++ b/gui/dialog/fileselect.c	Tue Apr 30 10:41:28 2013 +0000
@@ -689,7 +689,7 @@
     fsCancel = gtkAddButton(MSGTR_Cancel, hbuttonbox3);
 
     gtk_signal_connect(GTK_OBJECT(FileSelector), "destroy", GTK_SIGNAL_FUNC(fs_Destroy), NULL);
-    gtk_signal_connect(GTK_OBJECT(FileSelector), "key_release_event", GTK_SIGNAL_FUNC(on_FileSelect_key_release_event), NULL);
+    gtk_signal_connect(GTK_OBJECT(fsFNameListWindow), "key_release_event", GTK_SIGNAL_FUNC(on_FileSelect_key_release_event), NULL);
 
     gtk_signal_connect(GTK_OBJECT(fsFilterCombo), "changed", GTK_SIGNAL_FUNC(fs_fsFilterCombo_changed), fsFilterCombo);
     gtk_signal_connect(GTK_OBJECT(fsFilterCombo), "activate", GTK_SIGNAL_FUNC(fs_fsFilterCombo_activate), fsFilterCombo);