Kaydet (Commit) 9a78a4a1 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#125198 modeless dialog not appearing in online

Change-Id: I01916000ba2300a3905fe606301abd8ddadd3770
Reviewed-on: https://gerrit.libreoffice.org/72113
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 99fb06dd
...@@ -883,16 +883,19 @@ bool Dialog::ImplStartExecute() ...@@ -883,16 +883,19 @@ bool Dialog::ImplStartExecute()
ImplSVData* pSVData = ImplGetSVData(); ImplSVData* pSVData = ImplGetSVData();
const bool bKitActive = comphelper::LibreOfficeKit::isActive(); const bool bKitActive = comphelper::LibreOfficeKit::isActive();
const bool bModal = GetType() != WindowType::MODELESSDIALOG;
if (bModal)
{
if (bKitActive && !GetLOKNotifier()) if (bKitActive && !GetLOKNotifier())
{ {
if (vcl::ILibreOfficeKitNotifier* pViewShell = mpDialogImpl->m_aInstallLOKNotifierHdl.Call(nullptr)) if (vcl::ILibreOfficeKitNotifier* pViewShell = mpDialogImpl->m_aInstallLOKNotifierHdl.Call(nullptr))
{
SetLOKNotifier(pViewShell); SetLOKNotifier(pViewShell);
} }
}
const bool bModal = GetType() != WindowType::MODELESSDIALOG;
if (bModal)
{
switch ( Application::GetDialogCancelMode() ) switch ( Application::GetDialogCancelMode() )
{ {
case DialogCancelMode::Off: case DialogCancelMode::Off:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment