mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 798041 - Open invoices in new window does not work
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.
This commit is contained in:
parent
48f6cc148a
commit
3e76b84475
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user