[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 25 08:26:31 UTC 2019


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

New commits:
commit cd7e825be75077a10760c6c9c326e0df74e84527
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jan 23 09:31:20 2019 +0000
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Jan 25 09:26:00 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/66798
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

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


More information about the Libreoffice-commits mailing list