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> | 2020-12-15 14:36:20 +0100 |
commit | bdcdd00e86eb9408e65e287d566f027fdafc62cd (patch) | |
tree | 61995f9836163dd8de1cc5f7acfbc8fb1bbf8898 /sc | |
parent | 0762fc1bc8d204b4abd1510190223ec5517a3990 (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>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabvwshc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx index 8c7df132e203..34014934b147 100644 --- a/sc/source/ui/view/tabvwshc.cxx +++ b/sc/source/ui/view/tabvwshc.cxx @@ -120,7 +120,7 @@ std::unique_ptr<SfxModelessDialogController> ScTabViewShell::CreateRefDialogCont if ( nCurRefDlgId != nSlotId ) { - if (!(comphelper::LibreOfficeKit::isActive() && nSlotId == SID_OPENDLG_FUNCTION)) + if (!comphelper::LibreOfficeKit::isActive()) { // the dialog has been opened in a different view // -> lock the dispatcher for this view (modal mode) |