diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-12-15 11:02:35 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-01-10 12:26:26 +0100 |
commit | 8ba29d5031aed7285aa412b745413a7d5266cb90 (patch) | |
tree | 4e7cc0664e7723076d676a815a4c8f0c5606761c | |
parent | 78fc2ca7df9587ca33cda9be138068c1129d9690 (diff) |
online: Don't lock new views if ref dialog is opened
When one of ref dialogs was opened in one view
and then new user opened new view - the new one
was locked. Don't do that for all dialogs, not only
function wizard.
Was partially fixed for one dialog in:
48a216cd16b306f4d2d7edc374ceb4670d177db8
Change-Id: I3b37aa182fd2096a5c989dfbdeb6c245985706d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107743
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108967
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
-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; } |