mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-21 16:38:06 -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,7 +247,8 @@ gnc_gen_trans_list_delete (GNCImportMainMatcher *info)
|
||||
|
||||
g_free (info);
|
||||
|
||||
gnc_gui_refresh_all ();
|
||||
if (!gnc_gui_refresh_suspended ())
|
||||
gnc_gui_refresh_all ();
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user