diff options
-rw-r--r-- | include/svx/sidebar/LinePropertyPanelBase.hxx | 1 | ||||
-rw-r--r-- | svx/source/sidebar/line/LinePropertyPanel.cxx | 4 | ||||
-rw-r--r-- | svx/source/sidebar/line/LinePropertyPanelBase.cxx | 6 |
3 files changed, 10 insertions, 1 deletions
diff --git a/include/svx/sidebar/LinePropertyPanelBase.hxx b/include/svx/sidebar/LinePropertyPanelBase.hxx index c19061877cef..e114d7b8e9b3 100644 --- a/include/svx/sidebar/LinePropertyPanelBase.hxx +++ b/include/svx/sidebar/LinePropertyPanelBase.hxx @@ -103,6 +103,7 @@ protected: void setMapUnit(MapUnit eMapUnit); + void enableArrowHead(); void disableArrowHead(); protected: diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx index d8dd5fb17498..344d8a02961b 100644 --- a/svx/source/sidebar/line/LinePropertyPanel.cxx +++ b/svx/source/sidebar/line/LinePropertyPanel.cxx @@ -193,8 +193,10 @@ void LinePropertyPanel::HandleContextChange( break; } - if(!bShowArrows) + if (!bShowArrows) disableArrowHead(); + else + enableArrowHead(); } void LinePropertyPanel::setLineStyle(const XLineStyleItem& rItem) diff --git a/svx/source/sidebar/line/LinePropertyPanelBase.cxx b/svx/source/sidebar/line/LinePropertyPanelBase.cxx index 890203b82802..ae583af16f4b 100644 --- a/svx/source/sidebar/line/LinePropertyPanelBase.cxx +++ b/svx/source/sidebar/line/LinePropertyPanelBase.cxx @@ -909,6 +909,12 @@ void LinePropertyPanelBase::disableArrowHead() ActivateControls(); } +void LinePropertyPanelBase::enableArrowHead() +{ + mbArrowSupported = true; + ActivateControls(); +} + }} // end of namespace svx::sidebar /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |