gnucash maint: Revert "Bug 797468 - Receivable Aging report - phantom company with negative total"

Christopher Lam clam at code.gnucash.org
Sun Nov 3 09:30:32 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/491088b2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/535632b0 (commit)



commit 491088b2f6831be752fc0327282e9bf75eb00f18
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 3 22:29:30 2019 +0800

    Revert "Bug 797468 - Receivable Aging report - phantom company with negative total"
    
    This reverts commit 32a340350d2239c2e71408f69a2d4a4b11bf2cfb.

diff --git a/gnucash/gnome/dialog-payment.c b/gnucash/gnome/dialog-payment.c
index 6f8657e82..b1f96523a 100644
--- a/gnucash/gnome/dialog-payment.c
+++ b/gnucash/gnome/dialog-payment.c
@@ -937,14 +937,6 @@ gnc_payment_ok_cb (G_GNUC_UNUSED GtkWidget *widget, gpointer data)
         selection = gtk_tree_view_get_selection (GTK_TREE_VIEW(pw->docs_list_tree_view));
         gtk_tree_selection_selected_foreach (selection, get_selected_lots, &selected_lots);
 
-        if ((gtk_tree_selection_count_selected_rows (selection) == 0) &&
-            !(gnc_verify_dialog ( GTK_WINDOW(pw->dialog), FALSE,
-                                  _("No documents were selected to assign this payment to. This may create an unattached payment. Do you wish to continue?"))))
-        {
-            gnc_resume_gui_refresh ();
-            return;
-        }
-
         /* When the payment amount is 0, the selected documents cancel each other out
          * so no money is actually transferred.
          * For non-zero payments money will be transferred between the post account



Summary of changes:
 gnucash/gnome/dialog-payment.c | 8 --------
 1 file changed, 8 deletions(-)



More information about the gnucash-changes mailing list