Kaydet (Commit) 0e8d0fe0 authored tarafından Pranav Kant's avatar Pranav Kant Kaydeden (comit) pranavk

lokdialog: No modal mode in LOK

... otherwise the cursor in the document goes invisible as soon as the
dialog is launched.

Change-Id: I77bc30879550b354e1a9593db3c2db7ad3c68193
Reviewed-on: https://gerrit.libreoffice.org/48126Reviewed-by: 's avatarpranavk <pranavk@collabora.co.uk>
Tested-by: 's avatarpranavk <pranavk@collabora.co.uk>
üst 714ba513
......@@ -67,6 +67,7 @@
#include <rtl/ustrbuf.hxx>
#include <unotools/ucbhelper.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/namedvaluecollection.hxx>
#include <comphelper/docpasswordrequest.hxx>
......@@ -2261,6 +2262,10 @@ OUString SfxViewFrame::GetActualPresentationURL_Impl() const
void SfxViewFrame::SetModalMode( bool bModal )
{
// no real modality for LOK
if (comphelper::LibreOfficeKit::isActive())
return;
m_pImpl->bModal = bModal;
if ( m_xObjSh.is() )
{
......
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