gnucash maint: bug 518833 - partially solves by not allowing multiple account selection; rest of bug is dupicate of 554391
J.Alex Aycinena
alex.aycinena at code.gnucash.org
Sun Jan 27 15:53:15 EST 2019
Updated via https://github.com/Gnucash/gnucash/commit/307eb990 (commit)
from https://github.com/Gnucash/gnucash/commit/84d1c364 (commit)
commit 307eb990574eb44fe06f0a50f655bdc3bfde3e8f
Author: Alex Aycinena <alex.aycinena at gmail.com>
Date: Sun Jan 27 12:45:59 2019 -0800
bug 518833 - partially solves by not allowing multiple account selection; rest of bug is dupicate of 554391
diff --git a/gnucash/gnome/dialog-tax-info.c b/gnucash/gnome/dialog-tax-info.c
index b9ae1ce..64b109a 100644
--- a/gnucash/gnome/dialog-tax-info.c
+++ b/gnucash/gnome/dialog-tax-info.c
@@ -928,7 +928,8 @@ gnc_tax_info_account_changed_cb (GtkTreeSelection *selection,
case 1:
/* Get the account. This view is set for multiple selection, so we
- can only get a list of accounts. */
+ can only get a list of accounts. 1-25-19: The dialog does not work
+ for multipe accounts so it was changed to single selection */
view = GNC_TREE_VIEW_ACCOUNT(ti_dialog->account_treeview);
accounts = gnc_tree_view_account_get_selected_accounts (view);
if (accounts == NULL)
@@ -1400,7 +1401,7 @@ gnc_tax_info_dialog_create (GtkWidget * parent, TaxInfoDialog *ti_dialog)
ti_dialog->account_treeview = GTK_WIDGET(tree_view);
selection = gtk_tree_view_get_selection (tree_view);
- gtk_tree_selection_set_mode (selection, GTK_SELECTION_MULTIPLE);
+ gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE);
g_signal_connect (G_OBJECT (selection), "changed",
G_CALLBACK (gnc_tax_info_account_changed_cb),
ti_dialog);
Summary of changes:
gnucash/gnome/dialog-tax-info.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
More information about the gnucash-changes
mailing list