mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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.
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user