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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 24 13:32:24 UTC 2019


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

New commits:
commit dbe5388c92d988c106cb8def839d031008a0d642
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Oct 24 11:55:15 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Oct 24 15:30:53 2019 +0200

    need notify guard around SetCurEntry
    
    Change-Id: I2c469af4b9469c788c51324543affbd031a758f8
    Reviewed-on: https://gerrit.libreoffice.org/81445
    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 151135eb1f89..ef81c7f91d3c 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -4055,7 +4055,9 @@ public:
     virtual void set_cursor(const weld::TreeIter& rIter) override
     {
         const SalInstanceTreeIter& rVclIter = static_cast<const SalInstanceTreeIter&>(rIter);
+        disable_notify_events();
         m_xTreeView->SetCurEntry(rVclIter.iter);
+        enable_notify_events();
     }
 
     virtual bool get_iter_first(weld::TreeIter& rIter) const override


More information about the Libreoffice-commits mailing list