gnucash stable: Bug 799036 - Import prices from a CSV date problem
Robert Fewell
bobit at code.gnucash.org
Wed Aug 9 06:12:21 EDT 2023
Updated via https://github.com/Gnucash/gnucash/commit/c52e64a1 (commit)
from https://github.com/Gnucash/gnucash/commit/7a1f01d3 (commit)
commit c52e64a174839fca8f3e22a7ad110352a8e70345
Author: Robert Fewell <14uBobIT at gmail.com>
Date: Wed Aug 9 11:07:43 2023 +0100
Bug 799036 - Import prices from a CSV date problem
After importing CSV prices, the Chart of Accounts tree values are not
updated until forced to do so by say 'View->Refresh'. To fix this after
doing the import call 'gnc_gui_refresh_all' which will trigger a
refresh event similar to that when you update prices manually.
diff --git a/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp b/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp
index 5f7333d806..3e39920cc1 100644
--- a/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp
+++ b/gnucash/import-export/csv-imp/assistant-csv-price-import.cpp
@@ -1970,6 +1970,7 @@ CsvImpPriceAssist::assist_finish ()
try
{
price_imp->create_prices ();
+ gnc_gui_refresh_all ();
}
catch (const std::invalid_argument& err)
{
Summary of changes:
gnucash/import-export/csv-imp/assistant-csv-price-import.cpp | 1 +
1 file changed, 1 insertion(+)
More information about the gnucash-changes
mailing list