gnucash maint: Bug 795519 - Credit card payment after reconciliation
Geert Janssens
gjanssens at code.gnucash.org
Sat May 12 10:50:08 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/324c9adf (commit)
from https://github.com/Gnucash/gnucash/commit/61fe6478 (commit)
commit 324c9adfd2dbee64ceffe0036d7e6a61d2b45c25
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sat May 12 16:50:02 2018 +0200
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.
diff --git a/gnucash/gnome/window-reconcile.c b/gnucash/gnome/window-reconcile.c
index 9ed3dd8..3836bfd 100644
--- a/gnucash/gnome/window-reconcile.c
+++ b/gnucash/gnome/window-reconcile.c
@@ -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));
Summary of changes:
gnucash/gnome/window-reconcile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list