| commit | 6ca6ca12f96524c9f68dad94b2857d98ca12134a | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Wed Mar 13 16:24:07 2019 +0000 |
| committer | Xisco Faulí <xiscofauli@libreoffice.org> | Thu Mar 14 09:37:47 2019 +0100 |
| tree | fa2839a4d900067c444e24c7934ac36fbcea20e3 | |
| parent | 90752744ec69241c41140db9f21bb0c9aabea957 [diff] |
Resolves: tdf#123694 we need the controller, not the tabpage parent Change-Id: Ib390abaec648a1e06fcc35f83cb170fc654cf021 Reviewed-on: https://gerrit.libreoffice.org/69204 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
diff --git a/chart2/source/controller/dialogs/res_ErrorBar.cxx b/chart2/source/controller/dialogs/res_ErrorBar.cxx index c1ea174..5a2d750a 100644 --- a/chart2/source/controller/dialogs/res_ErrorBar.cxx +++ b/chart2/source/controller/dialogs/res_ErrorBar.cxx
@@ -41,8 +41,9 @@ namespace { void lcl_enableRangeChoosing(bool bEnable, TabPageParent pParent) { if (weld::Window* pWeldDialog = dynamic_cast<weld::Window*>(pParent.pPage)) if (weld::DialogController* pController = pParent.pController) { weld::Window* pWeldDialog = pController->getDialog(); pWeldDialog->set_modal(!bEnable); pWeldDialog->show(!bEnable); }