[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sfx2/source

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 15 12:33:52 UTC 2020


 sfx2/source/sidebar/SidebarDockingWindow.cxx |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

New commits:
commit 6780e9c9b3224e5c0088110f02fdd88073fbdad4
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Sep 15 08:22:34 2020 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Tue Sep 15 14:33:16 2020 +0200

    Revert "sidebar: restrict sending once a "created" message"
    
    This reverts commit 855ce740ee1ce4cfdafdc34266ce9668cccc2874.
    
    It has so much damage in mobile devices, I do not understand
    the message "created", "close", it should means create de sidebar window,
    but it is used as "show", "hide"
    
    Change-Id: I5f45d58be577b7b6302adf57279cab5880f7060c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102743
    Tested-by: Henry Castro <hcastro at collabora.com>
    Reviewed-by: Henry Castro <hcastro at collabora.com>

diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index 6818c201631d..302605d6a65a 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -107,9 +107,6 @@ public:
             SAL_WARN("sfx.sidebar", rError.message());
         }
     }
-
-    bool GetLastLOKWindow() { return m_LastLOKWindowId; }
-
 };
 
 SidebarDockingWindow::SidebarDockingWindow(SfxBindings* pSfxBindings, SidebarChildWindow& rChildWindow,
@@ -208,10 +205,7 @@ void SidebarDockingWindow::NotifyResize()
             SetLOKNotifier(pCurrentView);
         }
 
-        if (mpIdleNotify->GetLastLOKWindow() == 0)
-        {
-            mpIdleNotify->Start();
-        }
+        mpIdleNotify->Start();
     }
 }
 


More information about the Libreoffice-commits mailing list