summaryrefslogtreecommitdiffstats
path: root/chart2/source
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-03-17 20:40:01 +0000
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-23 02:55:32 +0100
commit92aedd1755a345957c9024436f652d336f463fbb (patch)
tree726d69843572f8e08cd4e8845ffc793ecff84818 /chart2/source
parentGet correct datasource when calculating errorbar length. (diff)
downloadcore-92aedd1755a345957c9024436f652d336f463fbb.tar.gz
core-92aedd1755a345957c9024436f652d336f463fbb.zip
Display Format menu entry when selecting an X errorbar.
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/main/ControllerCommandDispatch.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/chart2/source/controller/main/ControllerCommandDispatch.cxx b/chart2/source/controller/main/ControllerCommandDispatch.cxx
index 0f314f466d97..372fe31c9b5d 100644
--- a/chart2/source/controller/main/ControllerCommandDispatch.cxx
+++ b/chart2/source/controller/main/ControllerCommandDispatch.cxx
@@ -277,6 +277,9 @@ void ControllerState::update(
if( aObjectType == OBJECTTYPE_DATA_AVERAGE_LINE )
bMayFormatMeanValue = true;
+ if( aObjectType == OBJECTTYPE_DATA_ERRORS_X)
+ bMayFormatXErrorBars = true;
+
if( aObjectType == OBJECTTYPE_DATA_ERRORS_Y || aObjectType == OBJECTTYPE_DATA_ERRORS )
bMayFormatYErrorBars = true;