aboutsummaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c
index 82079957..000b7837 100644
--- a/src/search.c
+++ b/src/search.c
@@ -578,8 +578,9 @@ static gint updateNCBModelSafe(SaveCall * call) {
578 "searchNamespaceComboBoxEntry"); 578 "searchNamespaceComboBoxEntry");
579 gtk_combo_box_set_model(GTK_COMBO_BOX(searchNamespaceCB), 579 gtk_combo_box_set_model(GTK_COMBO_BOX(searchNamespaceCB),
580 GTK_TREE_MODEL(model)); 580 GTK_TREE_MODEL(model));
581 gtk_combo_box_entry_set_text_column(GTK_COMBO_BOX_ENTRY(searchNamespaceCB), 581 if (gtk_combo_box_entry_get_text_column(GTK_COMBO_BOX_ENTRY(searchNamespaceCB)) == -1)
582 0); 582 gtk_combo_box_entry_set_text_column(GTK_COMBO_BOX_ENTRY(searchNamespaceCB),
583 0);
583 if (-1 == gtk_combo_box_get_active(GTK_COMBO_BOX(searchNamespaceCB))) 584 if (-1 == gtk_combo_box_get_active(GTK_COMBO_BOX(searchNamespaceCB)))
584 gtk_combo_box_set_active(GTK_COMBO_BOX(searchNamespaceCB), 585 gtk_combo_box_set_active(GTK_COMBO_BOX(searchNamespaceCB),
585 0); 586 0);