From 48ac4e3112c40e00ee09be4f117f564b7b2df51e Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Sun, 5 Mar 2017 22:45:13 +0100 Subject: [PATCH] added workaround for #3727 (by heckflosse) --- rtgui/profilestore.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rtgui/profilestore.cc b/rtgui/profilestore.cc index 7eaf50b77..364ae5c6c 100644 --- a/rtgui/profilestore.cc +++ b/rtgui/profilestore.cc @@ -577,12 +577,12 @@ void ProfileStoreComboBox::refreshProfileList_ (Gtk::TreeModel::Row *parentRow, // creating and assigning the custom Label object newSubMenu[methodColumns.label] = entry->label; newSubMenu[methodColumns.profileStoreEntry] = entry; - +#if GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 18 // HACK: Workaround for bug in Gtk+ 3.18... Gtk::TreeModel::Row menuHeader = *(refTreeModel->append(newSubMenu->children())); - menuHeader[methodColumns.label] = entry->label; + menuHeader[methodColumns.label] = "-"; menuHeader[methodColumns.profileStoreEntry] = entry; - +#endif refreshProfileList_ (&newSubMenu, entry->folderId, false, entryList); } else { refreshProfileList_ (parentRow, entry->folderId, true, entryList);