[gnc-currency-edit.cpp] signals should be unblocked after blocking

gnc_currency_edit_clear_display seems unused however
This commit is contained in:
Christopher Lam committed 2026-10-04 15:59:08 +08:00
1 parent f6a134b6d8
commit 53cc9e661e
1 file changed
+2 -2
+2 -2
View File
@@ -477,8 +477,8 @@ gnc_currency_edit_clear_display (GNCCurrencyEdit *gce)
gtk_combo_box_set_active (GTK_COMBO_BOX(gce), -1);
gtk_combo_box_set_model (GTK_COMBO_BOX(gce), model);
g_signal_handlers_block_by_func (G_OBJECT(gce),
(gpointer)gnc_currency_edit_active_changed, gce);
g_signal_handlers_unblock_by_func (G_OBJECT(gce),
(gpointer)gnc_currency_edit_active_changed, gce);
g_object_unref (model);
}