mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Desktop: make salinity a field known to the undo system
The undo system sets updates individual dive fields on redo respectively undo. Make salinity such a field, since it is changed on replanning a dive. To do this, break out the "update salinity" functionality into its own function, add an entry to the DiveField enum and add the corresponding switch-case. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
d16d57577d
commit
6a6b992a77
3 changed files with 14 additions and 5 deletions
|
@ -23,6 +23,7 @@ private slots:
|
|||
private:
|
||||
Ui::TabDiveInformation *ui;
|
||||
void updateProfile();
|
||||
void updateSalinity();
|
||||
void updateWhen();
|
||||
int pressTypeIndex;
|
||||
void updateTextBox(int event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue