summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@planet.nl>2014-03-24 19:15:19 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-25 07:53:37 -0700
commitfe2ad15603ecb00a573d19e47d7d0c412d4a588a (patch)
treedac7cac7bcfbc37117cd086c656973138a9f6643 /qt-ui
parentfc1336107930b01d5280777037f1b30d4be09fee (diff)
downloadsubsurface-fe2ad15603ecb00a573d19e47d7d0c412d4a588a.tar.gz
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>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/maintab.cpp1
1 files changed, 1 insertions, 0 deletions
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) {