Skip to content

Commit

Permalink
Set the initial value on Relative Date combo boxes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Aug 17, 2021
1 parent c069246 commit 42b4755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gnucash/gnome-utils/dialog-options.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 42b4755

Please sign in to comment.