summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorleo2006-03-25 21:41:37 +0000
committerleo2006-03-25 21:41:37 +0000
commit1263f60a511fb80c823d9fb43f4040bbec939f60 (patch)
tree572ef77b0f11d053f1a9dc0973f19d9417fffa6e /linux
parent256de88ead674a6886a77f9d8107182e5f391ef8 (diff)
Fixed default pieces in the Minifig Wizard.
git-svn-id: http://svn.leocad.org/trunk@529 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/dlgpiece.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/dlgpiece.cpp b/linux/dlgpiece.cpp
index 906b760..e2e6c7f 100755
--- a/linux/dlgpiece.cpp
+++ b/linux/dlgpiece.cpp
@@ -403,8 +403,12 @@ int minifigdlg_execute (void* param)
if (names != NULL)
{
+ gtk_signal_handler_block_by_func(GTK_OBJECT(GTK_COMBO(s.pieces[i])->entry),
+ GTK_SIGNAL_FUNC(minifigdlg_piece_changed), NULL);
gtk_combo_set_popdown_strings (GTK_COMBO (s.pieces[i]), names);
g_list_free (names);
+ gtk_signal_handler_unblock_by_func(GTK_OBJECT(GTK_COMBO(s.pieces[i])->entry),
+ GTK_SIGNAL_FUNC(minifigdlg_piece_changed), NULL);
}
free (list);
}