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

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Sun Mar 1 11:03:13 UTC 2020


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

New commits:
commit 995e56127a789a8519c02a32ad9d032121c2bbe9
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Mon Jan 13 23:42:54 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Sun Mar 1 12:02:39 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>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89708
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 6606f47f5fac..80753e59c3cd 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -715,6 +715,8 @@ FuInsertChart::FuInsertChart(ScTabViewShell& rViewSh, vcl::Window* pWin, ScDrawV
             }
         }
     }
+    else if( xChartModel.is() )
+        xChartModel->unlockControllers();
 
     if ( bAddUndo )
     {


More information about the Libreoffice-commits mailing list