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 82ab7c7e7..3885cd56c 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -851,6 +851,11 @@ void MainTab::reload() mydive->what = copy_string(displayed_dive.what); \ } +MainTab::EditMode MainTab::getEditMode() const +{ + return editMode; +} + #define EDIT_VALUE(what) \ if (mydive->what == cd->what || copyPaste) { \ mydive->what = displayed_dive.what; \ |