[import-main-matcher.cpp] when main matcher finalizes, refresh gui

If an import would add new transactions into the current register, and
the import dialog is cancelled, the GUI would show extra blank lines
for the deleted imported transactions. Refreshing GUI will ensure the
correct unchanged account register is shown.
This commit is contained in:
Christopher Lam 2023-08-09 21:19:56 +08:00
parent c52e64a174
commit 5f01aebfaa

View File

@ -244,6 +244,8 @@ gnc_gen_trans_list_delete (GNCImportMainMatcher *info)
g_list_free_full (info->new_strings, (GDestroyNotify)g_free);
g_free (info);
gnc_gui_refresh_all ();
}
bool