diff options
-rw-r--r-- | sc/source/ui/view/tabvwshc.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx index 6cafc717b992..208623b1c4cb 100644 --- a/sc/source/ui/view/tabvwshc.cxx +++ b/sc/source/ui/view/tabvwshc.cxx @@ -124,7 +124,9 @@ std::shared_ptr<SfxModelessDialogController> ScTabViewShell::CreateRefDialogCont // the dialog has been opened in a different view // -> lock the dispatcher for this view (modal mode) - GetViewData().GetDispatcher().Lock( true ); // lock is reset when closing dialog + if (!comphelper::LibreOfficeKit::isActive()) + GetViewData().GetDispatcher().Lock( true ); // lock is reset when closing dialog + return nullptr; } |