summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/shells/basesh.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 4ed0849265ff..f251045744a8 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -1399,7 +1399,8 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
case FN_EDIT_CURRENT_REGION:
//tdf#112808 if cursor is in an index, don't show the edit section.
if( !rSh.GetCurrSection() ||
- rSh.GetCurrSection()->GetType() != CONTENT_SECTION )
+ (rSh.GetCurrSection()->GetType() != CONTENT_SECTION &&
+ rSh.GetCurrSection()->GetType() != FILE_LINK_SECTION ))
{
rSet.DisableItem(nWhich);
}