From 2f5223035a9d43b933b0baf64823dab84b5d8cea Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 27 May 2020 09:31:26 +0200 Subject: filter: add filter preset undo commands Add undo commands to add / edit / delete filter presets. These are styled after the other undo commands: On changes, the UI is informed by DiveListNotifier signals. Editing is a simple std::swap of values. Signed-off-by: Berthold Stoeger --- packaging/ios/Subsurface-mobile.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packaging/ios') diff --git a/packaging/ios/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile.pro index d924f5c23..c83ebb57e 100644 --- a/packaging/ios/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile.pro @@ -21,6 +21,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \ ../../commands/command_divesite.cpp \ ../../commands/command_edit.cpp \ ../../commands/command_edit_trip.cpp \ + ../../commands/command_filter.cpp \ ../../commands/command_pictures.cpp \ ../../core/cloudstorage.cpp \ ../../core/configuredivecomputerthreads.cpp \ @@ -192,6 +193,7 @@ HEADERS += \ ../../commands/command_divesite.h \ ../../commands/command_edit.h \ ../../commands/command_edit_trip.h \ + ../../commands/command_filter.h \ ../../commands/command_pictures.h \ ../../core/libdivecomputer.h \ ../../core/cloudstorage.h \ -- cgit v1.2.3-70-g09d2