sc/source/ui/view/dbfunc.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
New commits: commit 4645a8502559c58027b3042adc086bd2e0773b12 Author: Henry Castro <hcas...@collabora.com> AuthorDate: Wed Jun 19 09:43:43 2024 -0400 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Wed Jul 10 13:48:38 2024 +0200 lok: sc: fix warning autofilter message box Do not send the warning dialog to other users. Signed-off-by: Henry Castro <hcas...@collabora.com> Change-Id: I53ce2f24a17d853a9e7e6d302e101e4fa9d556dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169205 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> (cherry picked from commit 57f781eee6eac7a10210f7b8b539b4b00c6d08e8) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170118 Tested-by: Jenkins diff --git a/sc/source/ui/view/dbfunc.cxx b/sc/source/ui/view/dbfunc.cxx index 8f1b9e8fc589..fe68d386195c 100644 --- a/sc/source/ui/view/dbfunc.cxx +++ b/sc/source/ui/view/dbfunc.cxx @@ -344,8 +344,11 @@ void ScDBFunc::ToggleAutoFilter() if (!bHeader) { std::shared_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(pViewData->GetDialogParent(), - VclMessageType::Question, - VclButtonsType::YesNo, ScResId(STR_MSSG_MAKEAUTOFILTER_0))); // header from first row? + VclMessageType::Question, + VclButtonsType::YesNo, + // header from first row? + ScResId(STR_MSSG_MAKEAUTOFILTER_0), + SfxViewShell::Current())); xBox->set_title(ScResId(STR_MSSG_DOSUBTOTALS_0)); // "StarCalc" xBox->set_default_response(RET_YES); xBox->SetInstallLOKNotifierHdl(LINK(this, ScDBFunc, InstallLOKNotifierHdl));