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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri May 17 14:47:20 UTC 2019


 vcl/source/app/salvtables.cxx |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit e4576e3da166b97c5c5b2d72903d51bddc04780f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri May 17 09:38:06 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri May 17 16:46:36 2019 +0200

    tdf#125241 SvTreeListBox has a separate SetUpdateMode
    
    so just Window:SetUpdateMode was called, not also
    SvTreeListBox::SetUpdateMode
    
    Change-Id: I37a91f8aff6e8a2399cb7cacfcdc6b3f8b1f44ab
    Reviewed-on: https://gerrit.libreoffice.org/72451
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
    Tested-by: Jenkins

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 0f925613ac8e..afb51ee80791 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -1898,6 +1898,18 @@ public:
         m_aRadioButtonData.SetLink(LINK(this, SalInstanceTreeView, ToggleHdl));
     }
 
+    virtual void freeze() override
+    {
+        SalInstanceWidget::freeze();
+        m_xTreeView->SetUpdateMode(false);
+    }
+
+    virtual void thaw() override
+    {
+        m_xTreeView->SetUpdateMode(true);
+        SalInstanceWidget::thaw();
+    }
+
     virtual void set_column_fixed_widths(const std::vector<int>& rWidths) override
     {
         std::vector<long> aTabPositions;


More information about the Libreoffice-commits mailing list