diff --git a/ChangeLog b/ChangeLog index 8846656c7a..6059fb047e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-06-14 Dave Peticolas + + * src/register/gnome/gnucash-item-edit.c (item_edit_show_list): + make sure the current selected item is visible and, before doing + so, process all pending events to make sure the list is shown and + sized first. + 2000-06-13 Dave Peticolas * src/SplitLedger.c: refresh the main window before refreshing the diff --git a/src/register/gnome/gnucash-item-edit.c b/src/register/gnome/gnucash-item-edit.c index 1324de149a..c832fcb271 100644 --- a/src/register/gnome/gnucash-item-edit.c +++ b/src/register/gnome/gnucash-item-edit.c @@ -1085,6 +1085,10 @@ item_edit_show_list (ItemEdit *item_edit) gtk_widget_grab_focus(GTK_WIDGET(item_edit->item_list->clist)); + /* Make sure the list gets shown/sized correctly */ + while (gtk_events_pending()) + gtk_main_iteration(); + gnc_item_list_show_selected(item_edit->item_list); }