[Libreoffice-commits] core.git: sc/source

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 10 11:27:12 UTC 2021


 sc/source/ui/view/tabvwshc.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 8ba29d5031aed7285aa412b745413a7d5266cb90
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Tue Dec 15 11:02:35 2020 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Sun Jan 10 12:26:26 2021 +0100

    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 at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108967
    Tested-by: Szymon Kłos <szymon.klos at collabora.com>

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;
     }
 


More information about the Libreoffice-commits mailing list