From 8fb5502b25f0ca0e97e3eb07b68d89d21ee3d0ec Mon Sep 17 00:00:00 2001 From: Rishabh Date: Sun, 24 Jan 2016 03:58:08 +0530 Subject: 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 Tested-by: Jenkins Reviewed-by: Katarina Behrens --- svx/source/sidebar/possize/PosSizePropertyPanel.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'svx/source') diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index 53d72b66c4b9..e198505a0aa9 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -284,8 +284,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; -- cgit