Kaydet (Commit) 0bdfe0f9 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

draw sidebar: With the recent Jay's fixes, default to expanded sidebar too.

Change-Id: I5a05b116fbaac553adf7a87f88cf4bab19df39f0
üst 7bcf9131
...@@ -50,10 +50,10 @@ SidebarChildWindow::SidebarChildWindow ( ...@@ -50,10 +50,10 @@ SidebarChildWindow::SidebarChildWindow (
SfxDockingWindow* pDockingParent = dynamic_cast<SfxDockingWindow*>(pWindow); SfxDockingWindow* pDockingParent = dynamic_cast<SfxDockingWindow*>(pWindow);
if (pDockingParent != NULL) 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), // 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 // HACK: unfortunately I haven't found a clean solution to do
// this, so do it this way: // this, so do it this way:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment