Bug 795519 - Credit card payment after reconciliation

The transfer dialog was set up as a child of the reconciliation dialog.
However as the latter is closed it's child dialogs are closed as well.
At least that's the behaviour on Windows. This didn't happen on Fedora 27.
Regardless it's fixed by making the account register the parent of the transfer
dialog.
pull/345/head
Geert Janssens 8 years ago
parent 61fe647828
commit 324c9adfd2

@ -2156,7 +2156,7 @@ recnFinishCB (GtkAction *action, RecnWindow *recnData)
Account *payment_account;
XferDialog *xfer;
xfer = gnc_xfer_dialog (GTK_WIDGET (recnData->window), account);
xfer = gnc_xfer_dialog (GTK_WIDGET (gnc_ui_get_main_window (recnData->window)), account);
gnc_xfer_dialog_set_amount(xfer, gnc_numeric_neg (recnData->new_ending));

Loading…
Cancel
Save