mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 00:47:42 -06:00
Error in trace file suspend counter not zero
When importing from OFX, an error can be seen in the trace file when gnc_gui_refresh_all is called when refresh is suspended. Add a check for refresh being suspended before calling for a refresh.
This commit is contained in:
parent
30886f70e6
commit
29ec4257db
@ -247,6 +247,7 @@ gnc_gen_trans_list_delete (GNCImportMainMatcher *info)
|
|||||||
|
|
||||||
g_free (info);
|
g_free (info);
|
||||||
|
|
||||||
|
if (!gnc_gui_refresh_suspended ())
|
||||||
gnc_gui_refresh_all ();
|
gnc_gui_refresh_all ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user