[Libreoffice-commits] core.git: sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 23 12:52:42 UTC 2019


 sfx2/source/dialog/mgetempl.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 72e3d8d62cfeff852943df6e6fb9facd528d5b47
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jan 23 09:31:20 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jan 23 13:52:19 2019 +0100

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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();
     }


More information about the Libreoffice-commits mailing list