#2502: wxdigit: "don't save" is not respected
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: digitizer | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
I have the feeling that I've seen a message or report on this before, but
can't find it:
When I digitize a new map, then close the digitizer and click on 'No' when
asked whether I want to save the map, the elements I digitized still get
saved to the new map.
#2502: wxdigit: "don't save" is not respected
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: digitizer | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by annakrat):
Replying to [comment:1 nikosa]:
> Happened the same to me while quick-testing Anna's newest tool.
Let's keep this ticket for vector digitizer. But you probably saved the
result before quitting the tool, so the raster digitizer didn't revert the
saved changes, which is how applications work. If you think it doesn't
work like this or it should behave differently, please open a new ticket.
#2502: wxdigit: "don't save" is not respected
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: digitizer | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by mmetz):
Replying to [ticket:2502 mlennert]:
> I have the feeling that I've seen a message or report on this before,
but can't find it:
>
> When I digitize a new map, then close the digitizer and click on 'No'
when asked whether I want to save the map, the elements I digitized still
get saved to the new map.
The undo/redo logic was wrong and 'do not save = undo all' did not work
properly. Fixed in r63341, please test.