mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fixup csv price import assistant reset
A few lines were missing in my previous commit
This commit is contained in:
parent
66660c02fb
commit
76d742c6e3
@ -1877,6 +1877,9 @@ CsvImpPriceAssist::assist_preview_page_prepare ()
|
|||||||
|
|
||||||
// set over_write to false as default
|
// set over_write to false as default
|
||||||
price_imp->over_write (false);
|
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)
|
catch (std::ifstream::failure& e)
|
||||||
{
|
{
|
||||||
@ -1896,8 +1899,7 @@ CsvImpPriceAssist::assist_preview_page_prepare ()
|
|||||||
gtk_assistant_previous_page (csv_imp_asst);
|
gtk_assistant_previous_page (csv_imp_asst);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Disable the "Next" Assistant Button */
|
m_final_file_name = m_fc_file_name;
|
||||||
gtk_assistant_set_page_complete (csv_imp_asst, preview_page, false);
|
|
||||||
|
|
||||||
/* Load the data into the treeview. */
|
/* Load the data into the treeview. */
|
||||||
g_idle_add ((GSourceFunc)csv_imp_preview_queue_rebuild_table, this);
|
g_idle_add ((GSourceFunc)csv_imp_preview_queue_rebuild_table, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user