diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-05 13:11:26 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-05 13:45:51 -0800 |
commit | 2b9316e16ab94b1a8ef7a0c5abbce2f80abf5053 (patch) | |
tree | 03cc0b62eb754c7e543f43f1aa96e7ab2012da42 /profile-widget/profilewidget2.cpp | |
parent | 4ec5ce4c7a69acc682a9ed03b0170bf0f43c88af (diff) | |
download | subsurface-2b9316e16ab94b1a8ef7a0c5abbce2f80abf5053.tar.gz |
Untangle Profile from MainWindow: update main tab via signal
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/profilewidget2.cpp')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index d7da0b7e3..c72f2e95b 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -1476,7 +1476,7 @@ void ProfileWidget2::changeGas() // FIXME - this no longer gets written to the dive list - so we need to enableEdition() here - MainWindow::instance()->information()->updateDiveInfo(); + emit updateDiveInfo(false); mark_divelist_changed(true); replot(); } |