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

New commits:
commit 174e03a19e08846ee38fc4ff638ad7f3aad9934d
Author:     Muhammet Kara <muhammet.k...@collabora.com>
AuthorDate: Mon Jan 13 23:42:54 2020 +0300
Commit:     Michael Meeks <michael.me...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Michael Meeks <michael.me...@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: */
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to