[grisbi-devel] [PATCH 2/7] Make the payee editing wizard work when deselecting all payees
RĂ©mi Cardona
remi at gentoo.org
Wed Jan 30 08:42:32 CET 2013
This return condition would prevent from reselecting items in the payee
list when none were selected. Only the "select all" button would work.
---
src/tiers_onglet.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/tiers_onglet.c b/src/tiers_onglet.c
index da8dfa5..b4aff83 100644
--- a/src/tiers_onglet.c
+++ b/src/tiers_onglet.c
@@ -1526,8 +1526,6 @@ void gsb_assistant_payees_toggled ( GtkCellRendererToggle *cell,
/* do something with the value */
sup_payees = g_object_get_data ( G_OBJECT (assistant), "sup_payees" );
- if (!sup_payees)
- return;
if ( g_slist_find (sup_payees, GINT_TO_POINTER (payee_number)) && fixed )
sup_payees = g_slist_delete_link ( sup_payees,
g_slist_find ( sup_payees,
--
1.8.1.1
More information about the devel
mailing list