From e77b5ec03bb375765427c57da2b6ab23eb4b1aef Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 15 Aug 2021 14:27:59 -0700 Subject: [PATCH] Fix RelativeDateValue GtkListModel spec: No tooltips anymore. --- gnucash/gnome-utils/dialog-options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/gnome-utils/dialog-options.cpp b/gnucash/gnome-utils/dialog-options.cpp index 23c0ff7e35..70e1c4c060 100644 --- a/gnucash/gnome-utils/dialog-options.cpp +++ b/gnucash/gnome-utils/dialog-options.cpp @@ -1297,7 +1297,7 @@ RelativeDateEntry::RelativeDateEntry(GncOption& option) { auto renderer = gtk_cell_renderer_text_new(); - auto store = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_STRING); + auto store = gtk_list_store_new(1, G_TYPE_STRING); /* Add values to the list store, entry and tooltip */ auto num = option.num_permissible_values(); for (decltype(num) index = 0; index < num; ++index)