vcl/source/window/builder.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 299638cab15831d31e7906d557d4f95239be4df9 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jul 20 16:23:08 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Jul 21 10:25:21 2020 +0200 m_bLegacy is always false for dialog Change-Id: I3cc208c1b7576dc47b6259a1a388f1aeaf65c435 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99105 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index e280c0ce655b..1a6546b689a1 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1733,7 +1733,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & else xWindow = VclPtr<Dialog>::Create(pParent, nBits, eInit); #if HAVE_FEATURE_DESKTOP - if (!m_bLegacy && !extractModal(rMap)) + if (!extractModal(rMap)) xWindow->SetType(WindowType::MODELESSDIALOG); #endif } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits