diff options
author | Ingrid Halama [iha] <Ingrid.Halama@oracle.com> | 2011-02-07 14:19:53 +0100 |
---|---|---|
committer | Ingrid Halama [iha] <Ingrid.Halama@oracle.com> | 2011-02-07 14:19:53 +0100 |
commit | 5d81e7eace4a9fc6723fc367cae760c75e1f28ed (patch) | |
tree | 7be4f1e3aad88b58fe4de7ef344b4c6b31c17ace | |
parent | 5e069f674393ef2ce403f99bf3c6854991eb85e9 (diff) |
chart52: #i68029# show mean value line in the legend - enable delete key
-rw-r--r-- | chart2/source/controller/main/ChartController_Tools.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chart2/source/controller/main/ChartController_Tools.cxx b/chart2/source/controller/main/ChartController_Tools.cxx index af48936d33d9..0282abcefdf7 100644 --- a/chart2/source/controller/main/ChartController_Tools.cxx +++ b/chart2/source/controller/main/ChartController_Tools.cxx @@ -700,6 +700,11 @@ bool ChartController::executeDispatch_Delete() bReturn = lcl_deleteDataSeries( aCID, getModel(), m_xUndoManager ); else if( eParentObjectType == OBJECTTYPE_DATA_CURVE ) bReturn = lcl_deleteDataCurve( aCID, getModel(), m_xUndoManager ); + else if( eParentObjectType == OBJECTTYPE_DATA_AVERAGE_LINE ) + { + executeDispatch_DeleteMeanValue(); + bReturn = true; + } break; } |