Fix crash on completion of OFX download.

gtk_grid_remove_row has already destroyed the box so attempting
to gtk_widget_destroy it can lead to a crash.
This commit is contained in:
John Ralls 2020-03-19 15:48:38 -07:00
parent 2c95622511
commit 5a69ff2315

View File

@ -891,7 +891,7 @@ hide_progress(GncGWENGui *gui, Progress *progress)
/* Last other progress to be hidden */
gtk_grid_remove_row (GTK_GRID(gui->entries_grid),
OTHER_ENTRIES_ROW_OFFSET);
gtk_widget_destroy(box);
/* Box destroyed, Null the reference. */
gui->other_entries_box = NULL;
}
g_list_free(entries);