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

New commits:
commit 995e56127a789a8519c02a32ad9d032121c2bbe9
Author:     Muhammet Kara <muhammet.k...@collabora.com>
AuthorDate: Mon Jan 13 23:42:54 2020 +0300
Commit:     Muhammet Kara <muhammet.k...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89708
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.k...@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 )
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to