summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-01-13 23:42:54 +0300
committerMichael Meeks <michael.meeks@collabora.com>2020-01-13 22:41:51 +0100
commit174e03a19e08846ee38fc4ff638ad7f3aad9934d (patch)
treed67cabfe0c8794efb6967c6531ad95225b404103 /sc
parentff365eb193279bb9866b8fad7378f6068b207051 (diff)
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@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/drawfunc/fuins2.cxx2
1 files changed, 2 insertions, 0 deletions
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: */