Redraw profile when manipulating cylinders

Manipulating cylinders, especially changing the exact gas content (o2,
he), changes the pp02, ppHe graphs. This patch simply replots the profile
in case of cylinder change at time of saving.

Signed-off-by: Jan Mulder <jlmulder@planet.nl>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Jan Mulder 2014-03-24 19:15:19 +01:00 committed by Dirk Hohndel
parent fc13361079
commit fe2ad15603

View file

@ -634,6 +634,7 @@ void MainTab::acceptChanges()
d->cylinder[i] = multiEditEquipmentPlaceholder.cylinder[i]; d->cylinder[i] = multiEditEquipmentPlaceholder.cylinder[i];
} }
} }
MainWindow::instance()->graphics()->replot();
} }
if (weightModel->changed) { if (weightModel->changed) {