diff options
-rw-r--r-- | sfx2/source/sidebar/SidebarChildWindow.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx index 22d71d3ca95a..4d4730d06df4 100644 --- a/sfx2/source/sidebar/SidebarChildWindow.cxx +++ b/sfx2/source/sidebar/SidebarChildWindow.cxx @@ -50,10 +50,10 @@ SidebarChildWindow::SidebarChildWindow ( SfxDockingWindow* pDockingParent = dynamic_cast<SfxDockingWindow*>(pWindow); if (pDockingParent != NULL) { - if (pInfo && pInfo->aExtraString.isEmpty() && pInfo->aModule != "simpress") + if (pInfo && pInfo->aExtraString.isEmpty() && pInfo->aModule != "sdraw" && pInfo->aModule != "simpress") { // When this is the first start (never had the sidebar open yet), - // default to non-expanded sidebars in Writer, Calc, and Draw + // default to non-expanded sidebars in Writer and Calc. // // HACK: unfortunately I haven't found a clean solution to do // this, so do it this way: |