Fixup csv price import assistant reset

A few lines were missing in my previous commit
This commit is contained in:
Geert Janssens 2023-02-07 21:16:32 +01:00
parent 66660c02fb
commit 76d742c6e3

View File

@ -1877,6 +1877,9 @@ CsvImpPriceAssist::assist_preview_page_prepare ()
// set over_write to false as default
price_imp->over_write (false);
/* Disable the "Next" Assistant Button */
gtk_assistant_set_page_complete (csv_imp_asst, preview_page, false);
}
catch (std::ifstream::failure& e)
{
@ -1896,8 +1899,7 @@ CsvImpPriceAssist::assist_preview_page_prepare ()
gtk_assistant_previous_page (csv_imp_asst);
else
{
/* Disable the "Next" Assistant Button */
gtk_assistant_set_page_complete (csv_imp_asst, preview_page, false);
m_final_file_name = m_fc_file_name;
/* Load the data into the treeview. */
g_idle_add ((GSourceFunc)csv_imp_preview_queue_rebuild_table, this);