summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-11 15:30:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-11 15:32:14 +0100
commit045367d9ba43ec6afb003fd9117ae186c7e18e34 (patch)
treee113b5d34b58b6886f2897c56e32eda5ee35fb2d /sw
parent33603a582bdd173a8e85c78bb0e8ef82874b8e59 (diff)
Master Document toggle missing if switch to master doc from normal doc
regression since... commit 20e2d7e7d1c518fe514e8252836c1c728fe3fc27 Author: akki95 <akshaydeepiitr@gmail.com> Date: Sat Jan 30 09:55:41 2016 +0530 tdf#95408 -"Toggle" in Writer Navigator to be more explicit in what it toggles Change-Id: I310eb7bfc39993ba54bbd9eca04ce721c8a68ea6
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/navipi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index a6f293bc6008..5d5e021eace0 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -840,7 +840,7 @@ void SwNavigationPI::StateChanged( sal_uInt16 nSID, SfxItemState /*eState*/,
SwWrtShell* pWrtShell = pActView->GetWrtShellPtr();
m_aContentTree->SetActiveShell(pWrtShell);
bool bGlobal = IsGlobalDoc();
- m_aContentToolBox->EnableItem(m_aContentToolBox->GetItemId("toggle"), bGlobal);
+ m_aContentToolBox->ShowItem(m_aContentToolBox->GetItemId("toggle"), bGlobal);
if ((!bGlobal && IsGlobalMode()) || (!IsGlobalMode() && m_pConfig->IsGlobalActive()))
{
ToggleTree();