mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
2c95622511
commit
5a69ff2315
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user