diff options
author | Xisco Fauli <anistenis@gmail.com> | 2017-12-04 19:03:45 +0100 |
---|---|---|
committer | Gülşah Köse <gulsah.1004@gmail.com> | 2017-12-06 11:46:42 +0100 |
commit | 2eae1d741ebdc1e2ce1e512960e8152e178e0150 (patch) | |
tree | 2ee26370b9b27f29a5782de19b55562551f081f1 /sw | |
parent | 37fe0f729c17bd30d9f273b268b15c353c34a156 (diff) |
tdf#114219: Show Edit dialog entry in link section
Change-Id: I35c34d427cc5440994fc16ed7e4d307bc95bc533
Reviewed-on: https://gerrit.libreoffice.org/45817
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Gülşah Köse <gulsah.1004@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index 0b2ef68570cf..58ee634b334b 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -1400,7 +1400,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); } |