From fe2ad15603ecb00a573d19e47d7d0c412d4a588a Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Mon, 24 Mar 2014 19:15:19 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 682ff52c4..aea676de2 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -634,6 +634,7 @@ void MainTab::acceptChanges() d->cylinder[i] = multiEditEquipmentPlaceholder.cylinder[i]; } } + MainWindow::instance()->graphics()->replot(); } if (weightModel->changed) { -- cgit v1.2.3-70-g09d2