ScatterCtrl: Added swap and remove callbacks

git-svn-id: svn://ultimatepp.org/upp/trunk@14528 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2020-06-01 08:30:30 +00:00
parent ea6e9a061d
commit 4303cad51f

View file

@ -539,7 +539,7 @@ void SeriesTab::OnMoveUp()
return;
ScatterCtrl &scatter = *pscatter;
scatter.SwapOrder(index, index-1);
scatter.SwapSeries(index, index-1);
Init0();
@ -556,7 +556,7 @@ void SeriesTab::OnMoveDown()
return;
ScatterCtrl &scatter = *pscatter;
scatter.SwapOrder(index, index+1);
scatter.SwapSeries(index, index+1);
Init0();
@ -576,7 +576,7 @@ void SeriesTab::OnDelete()
return;
ScatterCtrl &scatter = *pscatter;
scatter.ScatterDraw::Remove(index);
scatter.ScatterDraw::RemoveSeries(index);
Init0();