[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sc/source

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 13 21:42:21 UTC 2020


 sc/source/ui/drawfunc/fuins2.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 174e03a19e08846ee38fc4ff638ad7f3aad9934d
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Mon Jan 13 23:42:54 2020 +0300
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Mon Jan 13 22:41:51 2020 +0100

    lok: Unlock chart contollers after insertion on mobile view
    
    The chart controllers were locked until the dialog finishes
    its execution, but at some point, dialog is disabled for mobile
    view, and seems like it was forgotten to unlock the controllers.
    
    Change-Id: Ib1e5799f5c84ef8b3ebc0f538909b4f8b586ff1a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86716
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 760b2229c7d8..3ece0c405d6a 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -747,6 +747,8 @@ FuInsertChart::FuInsertChart(ScTabViewShell& rViewSh, vcl::Window* pWin, ScDrawV
             }
         }
     }
+    else if( xChartModel.is() )
+        xChartModel->unlockControllers();
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list