[gnc-plugin-page-report] add gnc_plugin_page_report_reload

refreshes the report
This commit is contained in:
Christopher Lam 2021-03-11 22:58:01 +08:00
parent 04d4038e3f
commit 82458cb501
2 changed files with 8 additions and 0 deletions

View File

@ -1427,6 +1427,12 @@ gnc_plugin_page_report_back_cb( GtkAction *action, GncPluginPageReport *report )
}
}
void
gnc_plugin_page_report_reload (GncPluginPageReport *report)
{
gnc_plugin_page_report_reload_cb (NULL, report);
}
static void
gnc_plugin_page_report_reload_cb( GtkAction *action, GncPluginPageReport *report )
{

View File

@ -75,6 +75,8 @@ GType gnc_plugin_page_report_get_type( void );
*/
GncPluginPage *gnc_plugin_page_report_new( int reportId );
void gnc_plugin_page_report_reload (GncPluginPageReport *report);
// entry-point from scm menu-extension callback [gnc:menu-extension].
void gnc_main_window_open_report (int report_id, GncMainWindow *window);
// directly called through from above