mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Undo: implement undo of rating and visibility rating
This was rather trivial and modeled after the previous edit UndoCommands. Since this is the first time we're editing integers a new constructor instantiation had to be added. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
512a2e6b68
commit
42cfd3f963
5 changed files with 86 additions and 16 deletions
|
@ -55,6 +55,8 @@ void purgeUnusedDiveSites();
|
|||
void editNotes(const QVector<dive *> dives, const QString &newValue, const QString &oldValue);
|
||||
void editSuit(const QVector<dive *> dives, const QString &newValue, const QString &oldValue);
|
||||
void editMode(const QVector<dive *> dives, int index, int newValue, int oldValue);
|
||||
void editRating(const QVector<dive *> dives, int newValue, int oldValue);
|
||||
void editVisibility(const QVector<dive *> dives, int newValue, int oldValue);
|
||||
|
||||
} // namespace Command
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue