[Libreoffice-commits] core.git: sfx2/source
Trent MacAlpine
tmacalp at gmail.com
Mon Jan 19 01:03:07 PST 2015
sfx2/source/sidebar/SidebarDockingWindow.cxx | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
New commits:
commit 304e2002a053e9eb54e36462165eca831da8aeb2
Author: Trent MacAlpine <tmacalp at gmail.com>
Date: Sun Jan 18 13:47:20 2015 -0500
fdo#87217 Inconsistent floating sidebar close behavior
Remove code that caused an undocked sidebar to reenable a docked
sidebar when you attempt to close it using the window manager. It
should simply be closed instead.
Change-Id: Ib058d167b6c89f42df3ce4c80e4d97435b31c31d
Reviewed-on: https://gerrit.libreoffice.org/13979
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/sfx2/source/sidebar/SidebarDockingWindow.cxx b/sfx2/source/sidebar/SidebarDockingWindow.cxx
index 1a39746..24206b1 100644
--- a/sfx2/source/sidebar/SidebarDockingWindow.cxx
+++ b/sfx2/source/sidebar/SidebarDockingWindow.cxx
@@ -88,19 +88,10 @@ void SidebarDockingWindow::GetFocus()
+// fdo#87217
bool SidebarDockingWindow::Close (void)
{
- if (mpSidebarController.is())
- {
- // Do not close the floating window.
- // Dock it and close just the deck instead.
- SetFloatingMode(false);
- mpSidebarController->RequestCloseDeck();
- mpSidebarController->NotifyResize();
- return false;
- }
- else
- return SfxDockingWindow::Close();
+ return SfxDockingWindow::Close();
}
More information about the Libreoffice-commits
mailing list