diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-03-17 20:40:01 +0000 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-23 02:55:32 +0100 |
commit | 92aedd1755a345957c9024436f652d336f463fbb (patch) | |
tree | 726d69843572f8e08cd4e8845ffc793ecff84818 /chart2/source | |
parent | Get correct datasource when calculating errorbar length. (diff) | |
download | core-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.cxx | 3 |
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; |