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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon May 20 07:53:20 UTC 2019


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

New commits:
commit 688c5b8d64797596ee9826c3288824b5354a44a9
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: Mon May 20 09:52:33 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/72450
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 9c8ccc804953..1f4f37d22f49 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -2640,6 +2640,18 @@ public:
         }
     }
 
+    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
     {
         m_bDisableCheckBoxAutoWidth = true;


More information about the Libreoffice-commits mailing list