mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Fix crash when changing account-separator.
Unregister the handler from the same scheme in which it was registered, otherwise zombie handlers get called, and crash.
This commit is contained in:
parent
5a69ff2315
commit
af298a2e38
@ -65,7 +65,7 @@ static void
|
||||
shared_quickfill_destroy (QofBook *book, gpointer key, gpointer user_data)
|
||||
{
|
||||
QFB *qfb = user_data;
|
||||
gnc_prefs_remove_cb_by_func (GNC_PREFS_GROUP_GENERAL_REGISTER,
|
||||
gnc_prefs_remove_cb_by_func (GNC_PREFS_GROUP_GENERAL,
|
||||
GNC_PREF_ACCOUNT_SEPARATOR,
|
||||
shared_quickfill_pref_changed,
|
||||
qfb);
|
||||
|
Loading…
Reference in New Issue
Block a user