X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fhb-transaction.c;fp=src%2Fhb-transaction.c;h=e6fe03133c65edbaf5a972ab2d3ae522b18fc3fc;hb=ee5038e6ccae412295b44be762d3445419042d59;hp=966508092798840858a0a77cd74c814860eb9b59;hpb=0e1e5f856e9ab5faa63fd822354781baccccbcd9;p=chaz%2Fhomebank diff --git a/src/hb-transaction.c b/src/hb-transaction.c index 9665080..e6fe031 100644 --- a/src/hb-transaction.c +++ b/src/hb-transaction.c @@ -658,7 +658,12 @@ gint count; result = ui_dialog_transaction_xfer_select_child(parent, ope, matchlist, &child); if( result == GTK_RESPONSE_ACCEPT ) { - transaction_xfer_change_to_child(ope, child); + //#1827193 child can be null... + DB( g_print(" child %p\n", child) ); + if( child != NULL ) + transaction_xfer_change_to_child(ope, child); + else + transaction_xfer_create_child(ope); } else //GTK_RESPONSE_CANCEL {