summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-01-23 09:31:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-01-23 13:52:19 +0100
commit72e3d8d62cfeff852943df6e6fb9facd528d5b47 (patch)
tree1fea51113a3a5b64f7da56c6bc0ad3af918ff88a /sfx2
parenta7afdcd8d191248fd143743e818aa9985b95743c (diff)
set these hidden widgets to insensitive
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 <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/mgetempl.cxx2
1 files changed, 2 insertions, 0 deletions
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();
}