diff options
author | Xisco Fauli <anistenis@gmail.com> | 2017-12-04 19:03:45 +0100 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2017-12-13 00:10:50 +0100 |
commit | 16cf34a1d208b0e3e1f6ea9eadabbbd25894f829 (patch) | |
tree | de464ec1c4e6065f9feb826e2a12dbdad2ce22f1 | |
parent | 51bb22f7a8f1d9fe02243aa58427d63916226793 (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>
(cherry picked from commit 2eae1d741ebdc1e2ce1e512960e8152e178e0150)
Reviewed-on: https://gerrit.libreoffice.org/45931
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
-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 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); } |