Bug 779565 - Treeview header combos do not work at first load

When the csv preview page is first loaded the header combo will not
work till refreshed which can be done by selecting another separator.

By adding a g_idle_add to the preview_page_prepare to rebuild the table
the combos become active.
This commit is contained in:
Robert Fewell 2018-11-26 17:24:46 +00:00
parent 79373d5b5e
commit 458dac89fe

View File

@ -1890,7 +1890,7 @@ CsvImpTransAssist::assist_preview_page_prepare ()
gtk_assistant_set_page_complete (csv_imp_asst, preview_page, false);
/* Load the data into the treeview. */
preview_refresh_table ();
g_idle_add ((GSourceFunc)csv_imp_preview_queue_rebuild_table, this);
}
}