summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngrid Halama [iha] <Ingrid.Halama@oracle.com>2011-02-07 14:19:53 +0100
committerIngrid Halama [iha] <Ingrid.Halama@oracle.com>2011-02-07 14:19:53 +0100
commit5d81e7eace4a9fc6723fc367cae760c75e1f28ed (patch)
tree7be4f1e3aad88b58fe4de7ef344b4c6b31c17ace
parent5e069f674393ef2ce403f99bf3c6854991eb85e9 (diff)
chart52: #i68029# show mean value line in the legend - enable delete key
-rw-r--r--chart2/source/controller/main/ChartController_Tools.cxx5
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;
}