diff options
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/profilewidget2.cpp | 2 | ||||
-rw-r--r-- | profile-widget/profilewidget2.h | 1 |
2 files changed, 2 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(); } diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 5fc6e8d4b..f5977eb22 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -93,6 +93,7 @@ signals: void enableShortcuts(); void disableShortcuts(bool paste); void refreshDisplay(bool recreateDivelist); + void updateDiveInfo(bool clear); public slots: // Necessary to call from QAction's signals. |