Skip to content

Commit

Permalink
Merge pull request #4849 from opengisch/QF-3178-undoredo
Browse files Browse the repository at this point in the history
Add undo/redo functionality
  • Loading branch information
suricactus authored Dec 20, 2023
2 parents 3520635 + 2d18840 commit 292a8b7
Show file tree
Hide file tree
Showing 11 changed files with 683 additions and 5 deletions.
3 changes: 2 additions & 1 deletion images/images.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
<qresource prefix="/">
<file>themes/qfield/nodpi/ic_3x3_grid_white_24dp.svg</file>
<file>themes/qfield/nodpi/ic_digitizing_settings_black_24dp.svg</file>
<file>themes/qfield/nodpi/ic_undo_white_24dp.svg</file>
<file>themes/qfield/nodpi/ic_undo_black_24dp.svg</file>
<file>themes/qfield/nodpi/ic_redo_black_24dp.svg</file>
<file>themes/qfield/nodpi/ic_flash_auto_black_24dp.svg</file>
<file>themes/qfield/nodpi/ic_flash_on_black_24dp.svg</file>
<file>themes/qfield/nodpi/ic_flash_off_black_24dp.svg</file>
Expand Down
15 changes: 15 additions & 0 deletions images/themes/qfield/nodpi/ic_redo_black_24dp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions images/themes/qfield/nodpi/ic_undo_black_24dp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions images/themes/qfield/nodpi/ic_undo_white_24dp.svg

This file was deleted.

2 changes: 2 additions & 0 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ set(QFIELD_CORE_SRCS
geometryeditorsmodel.cpp
identifytool.cpp
layerobserver.cpp
featurehistory.cpp
layerresolver.cpp
layertreemapcanvasbridge.cpp
layertreemodel.cpp
Expand Down Expand Up @@ -164,6 +165,7 @@ set(QFIELD_CORE_HDRS
geometryeditorsmodel.h
identifytool.h
layerobserver.h
featurehistory.h
layerresolver.h
layertreemapcanvasbridge.h
layertreemodel.h
Expand Down
Loading

1 comment on commit 292a8b7

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.