diff options
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 6c071d911..0c0d99a35 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -253,6 +253,11 @@ void MainTab::clearStats() else \ ui.field->setText(get_temperature_string(d->field, TRUE)) +bool MainTab::isEditing() +{ + return editMode != NONE; +} + void MainTab::updateDiveInfo(int dive) { if (!isEnabled() && dive != -1) |