Error in trace file, gtk_box_pack: assertion failed

In create_list_widget there was a duplicate set of lines that were
trying to pack the view into the same box widget.
This commit is contained in:
Robert Fewell 2022-04-13 16:07:34 +01:00
parent b843dac2d1
commit 6d390dc6b4

View File

@ -1986,11 +1986,6 @@ create_list_widget(GncOption& option, char *name)
g_object_set (G_OBJECT(hbox), "margin", 3, NULL);
option.set_ui_item(std::make_unique<GncGtkListUIItem>(GTK_WIDGET(view)));
option.set_ui_item_from_option();
gtk_box_pack_start(GTK_BOX(hbox), GTK_WIDGET(view), FALSE, FALSE, 0);
return frame;
}