diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-12-19 11:59:32 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2020-12-19 20:19:51 +0100 |
commit | 3c786e35c3ca614ab16141b3f0ad4a03a0bcba2b (patch) | |
tree | e59669c0156badfbfe4458785471ce7892da8fdd /commands/command_event.h | |
parent | 77566fe285fe0fb4ec1ac5a831d1cb27bf159945 (diff) | |
download | subsurface-3c786e35c3ca614ab16141b3f0ad4a03a0bcba2b.tar.gz |
undo: fix annoying warning message when deleting pictures
The RemovePictures command filters the pictures provided by the
UI: only actually existing pictures are removed. The code was
buggy: the original list was copied and then the filtered list
was added. Thus, every picture was listed twice leading to
annoying warning messages. Remove the copy.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands/command_event.h')
0 files changed, 0 insertions, 0 deletions