mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 798256 - Crash in recnFinishCB
Make the action_group not sensitive in the recn_destroy_cb so that the action callbacks won't be called after the recnData is freed.
This commit is contained in:
parent
8ab8642e76
commit
ff26b71a91
@ -2120,6 +2120,9 @@ recn_destroy_cb (GtkWidget *w, gpointer data)
|
||||
if (recnData->delete_refresh)
|
||||
gnc_resume_gui_refresh ();
|
||||
|
||||
//Disable the actions, the handlers try to access recnData
|
||||
gtk_action_group_set_sensitive(recnData->action_group, FALSE);
|
||||
|
||||
g_free (recnData);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user