diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-04-17 14:02:22 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-04-17 14:04:55 +0200 |
commit | 0bdfe0f946042cdd59468d96a756f28db7cac7fe (patch) | |
tree | 43d25cd77c65c02899517ba54e05b35af3d841bb | |
parent | 7bcf9131032cbcdb162f33d03230e43d4f1db2aa (diff) |
draw sidebar: With the recent Jay's fixes, default to expanded sidebar too.
Change-Id: I5a05b116fbaac553adf7a87f88cf4bab19df39f0
-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: |