diff options
author | Henry Castro <hcastro@collabora.com> | 2020-09-15 08:22:34 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2020-09-15 14:33:16 +0200 |
commit | 6780e9c9b3224e5c0088110f02fdd88073fbdad4 (patch) | |
tree | ee86f4683265080fee37452a91f20bfbdf4ac8a7 /sfx2 | |
parent | a14c389b42800d34bd9b91a811431532f9a3bb62 (diff) |
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@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/SidebarDockingWindow.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
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(); } } |