mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix price import file loading
This commit is contained in:
parent
6db868ab64
commit
f9ebbf60d1
@ -1869,7 +1869,7 @@ CsvImpPriceAssist::assist_preview_page_prepare ()
|
||||
try
|
||||
{
|
||||
price_imp->file_format (GncImpFileFormat::CSV);
|
||||
price_imp->load_file (m_final_file_name);
|
||||
price_imp->load_file (m_fc_file_name);
|
||||
price_imp->tokenize (true);
|
||||
|
||||
/* Get settings store and populate */
|
||||
@ -1901,6 +1901,7 @@ CsvImpPriceAssist::assist_preview_page_prepare ()
|
||||
else
|
||||
{
|
||||
m_final_file_name = m_fc_file_name;
|
||||
preview_refresh ();
|
||||
|
||||
/* Load the data into the treeview. */
|
||||
g_idle_add ((GSourceFunc)csv_imp_preview_queue_rebuild_table, this);
|
||||
|
Loading…
Reference in New Issue
Block a user