diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-23 09:31:20 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-25 09:26:00 +0100 |
commit | cd7e825be75077a10760c6c9c326e0df74e84527 (patch) | |
tree | b7159735a80cdcee591b0472e53ecf91703bac02 /sfx2 | |
parent | a7037b4651a10a220eeae8d9e97dc6b97e506cc5 (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/66798
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/mgetempl.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index 73dd20d49cf6..90a66282d5d3 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(); } |