From 72e3d8d62cfeff852943df6e6fb9facd528d5b47 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 23 Jan 2019 09:31:20 +0000 Subject: set these hidden widgets to insensitive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit UpdateName_Impl is called if its sensitive, regardless of hidden and it makes no sense for the character style to update it and results in unsightly warnings of... ... gtk_tree_model_iter_nth_child: assertion 'n >= 0' failed ... gtk_list_store_remove: assertion 'iter_is_valid (iter, list_store)' failed Change-Id: Iaca6104ebb5e44ce45a7bb01a348f9c5f54de876 Reviewed-on: https://gerrit.libreoffice.org/66778 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sfx2/source/dialog/mgetempl.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sfx2') diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index 6b80a35e4e23..aff56ac4e28c 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -147,7 +147,9 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(TabPageParent pParent, const Sf } else { + m_xFollowFt->set_sensitive(false); m_xFollowFt->hide(); + m_xFollowLb->set_sensitive(false); m_xFollowLb->hide(); m_xEditStyleBtn->hide(); } -- cgit