Bug 794941 - Both print icons export to pdf

This affects only Windows and OS X gnucash users. On linux we use
webkit2 for our report handling which has the opposite issue, namely
that both buttons will open the print dialog and it's no longer possible
to effectively export directly to pdf (though one can choose print to file
in the print dialog as a work around). This inverse issue is tracked separately in
https://bugzilla.gnome.org/show_bug.cgi?id=787018
This commit is contained in:
Geert Janssens 2018-04-27 15:48:47 +02:00
parent d0fca7794e
commit bc5f86ff92

View File

@ -1891,7 +1891,7 @@ gnc_plugin_page_report_print_cb( GtkAction *action, GncPluginPageReport *report
//g_warning("Setting job name=%s", job_name);
#ifdef WEBKIT1
gnc_html_print (priv->html, job_name, TRUE);
gnc_html_print (priv->html, job_name, FALSE);
#else
gnc_html_print (priv->html);
#endif