chart2/source/controller/main/ChartController_EditData.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8d7a250c04615f27c14543a9f050cb21648f498d Author: Pranav Kant <pran...@collabora.co.uk> Date: Thu Mar 15 16:48:54 2018 +0530 chart2 lok: give parent to data table dialog to tunnel it Change-Id: Ie82a9a6d9b499e5da34e04f0c2f5fc7c164b098e (cherry picked from commit cbbff5a2c08a55bfec27b2476fd848e972bfd572) Reviewed-on: https://gerrit.libreoffice.org/51356 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> diff --git a/chart2/source/controller/main/ChartController_EditData.cxx b/chart2/source/controller/main/ChartController_EditData.cxx index 646a27a35cb1..9d64dd06fcbc 100644 --- a/chart2/source/controller/main/ChartController_EditData.cxx +++ b/chart2/source/controller/main/ChartController_EditData.cxx @@ -18,6 +18,7 @@ */ #include "ChartController.hxx" +#include "ChartWindow.hxx" #include "macros.hxx" #include "dlg_DataEditor.hxx" @@ -52,7 +53,7 @@ void ChartController::executeDispatch_EditData() UndoLiveUpdateGuardWithData aUndoGuard( SCH_RESSTR( STR_ACTION_EDIT_CHART_DATA ), m_xUndoManager ); - ScopedVclPtrInstance<DataEditor> aDataEditorDialog( nullptr, xChartDoc, m_xCC ); + ScopedVclPtrInstance<DataEditor> aDataEditorDialog( m_pChartWindow.get(), xChartDoc, m_xCC ); if (aDataEditorDialog->Execute() == RET_OK) aDataEditorDialog->ApplyChangesToModel(); aUndoGuard.commit(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits