diff options
author | Rishabh <kris.kr296@yahoo.in> | 2016-01-24 03:58:08 +0530 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-02 12:20:18 +0000 |
commit | c39e78c7680457c1e276569409b6a2c279758496 (patch) | |
tree | 874ea32ba886236d662f0e6ecad2a8d3fbf449d0 /svx | |
parent | abec158e8b0a5c07380cd2bc7f7c5edbef878bed (diff) |
Make Position and Size sidebar tab visible when a line is selected
Regression bug introduced by - https://gerrit.libreoffice.org/#/c/16165/ and removal of obsolete writer code.
Change-Id: I8ab2e0c04b5c90fafdb43f34899053df7bd7fb4e
Reviewed-on: https://gerrit.libreoffice.org/21739
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
(cherry picked from commit 8fb5502b25f0ca0e97e3eb07b68d89d21ee3d0ec)
Reviewed-on: https://gerrit.libreoffice.org/21851
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 89effbb61dae..bc3d30e02ff0 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -285,8 +285,10 @@ void PosSizePropertyPanel::HandleContextChange( break; case CombinedEnumContext(Application_Calc, Context_Draw): + case CombinedEnumContext(Application_Calc, Context_DrawLine): case CombinedEnumContext(Application_Calc, Context_Graphic): case CombinedEnumContext(Application_DrawImpress, Context_Draw): + case CombinedEnumContext(Application_DrawImpress, Context_DrawLine): case CombinedEnumContext(Application_DrawImpress, Context_TextObject): case CombinedEnumContext(Application_DrawImpress, Context_Graphic): bShowPosition = true; |