mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Set the initial value on Relative Date combo boxes.
This commit is contained in:
parent
c06924622c
commit
42b4755aea
@ -1310,6 +1310,7 @@ RelativeDateEntry::RelativeDateEntry(GncOption& option)
|
||||
|
||||
/* Create the new Combo with tooltip and add the store */
|
||||
m_entry = GTK_WIDGET(gtk_combo_box_new_with_model(GTK_TREE_MODEL(store)));
|
||||
gtk_combo_box_set_active(GTK_COMBO_BOX(m_entry), 0);
|
||||
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT(m_entry), renderer, TRUE);
|
||||
gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT(m_entry),
|
||||
renderer, "text", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user