Skip to content

Commit

Permalink
Bug 798041 - Open invoices in new window does not work
Browse files Browse the repository at this point in the history
If you set the preference setting to open invoices in a new window the
invoice still opens in new tab. This setting was being over ridden in
gnc_invoice_new_page so removed that in the function.
  • Loading branch information
Bob-IT committed Dec 11, 2020
1 parent 48f6cc1 commit 3e76b84
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gnucash/gnome/dialog-invoice.c
Expand Up @@ -2275,9 +2275,8 @@ gnc_invoice_new_page (QofBook *bookp, InvoiceDialogType type,

/* Now create the plugin page for this invoice and display it. */
new_page = gnc_plugin_page_invoice_new (iw);
if (window)
gnc_plugin_page_set_use_new_window (new_page, FALSE);
else

if (!window)
window = gnc_plugin_business_get_window ();

gnc_main_window_open_page (window, new_page);
Expand Down

0 comments on commit 3e76b84

Please sign in to comment.