mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
After saving report, make that button inactive again. #450984
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16222 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c160569737
commit
84a1072828
@ -1376,6 +1376,14 @@ gnc_plugin_page_report_save_cb( GtkAction *action, GncPluginPageReport *report )
|
|||||||
|
|
||||||
save_func = scm_c_eval_string("gnc:report-save-to-savefile");
|
save_func = scm_c_eval_string("gnc:report-save-to-savefile");
|
||||||
scm_call_1(save_func, priv->cur_report);
|
scm_call_1(save_func, priv->cur_report);
|
||||||
|
|
||||||
|
{
|
||||||
|
GtkActionGroup *action_group =
|
||||||
|
gnc_plugin_page_get_action_group(GNC_PLUGIN_PAGE(report));
|
||||||
|
GtkAction *action =
|
||||||
|
gtk_action_group_get_action (action_group, "ReportSaveAction");
|
||||||
|
gtk_action_set_sensitive(action, FALSE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user