diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-03-16 11:35:44 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | cd3a8ba354c67b322c07b3c29899bc1ad7d5887c (patch) | |
tree | 5ad0e51822c043d76db78d0c3415750ee287d229 /desktop-widgets/mainwindow.h | |
parent | d4282e2689ec8647e9deb842ac434f274218a63a (diff) | |
download | subsurface-cd3a8ba354c67b322c07b3c29899bc1ad7d5887c.tar.gz |
Dive site: add edit field to dive site table
Add an edit column that calls the new editDiveSite() function
of MainWindow. The calling code is in DiveSiteSortedModel.
Quite illogical, but that's how TableView works, for now.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/mainwindow.h')
-rw-r--r-- | desktop-widgets/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index 859cafed1..4282938a6 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -82,6 +82,7 @@ public: void enableDisableOtherDCsActions(); void enterEditState(); void exitEditState(); + void editDiveSite(dive_site *ds); MainTab *mainTab; PlannerDetails *plannerDetails; |