Code

Duplicate the undo key passed to sp_document_maybe_done, instead of simply
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Tue, 27 Jul 2010 22:29:47 +0000 (00:29 +0200)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Tue, 27 Jul 2010 22:29:47 +0000 (00:29 +0200)
commit8e66f19121ed96553dbe32034241373acff85986
tree22b84f4c28f56056022e0adafbab364ebbb1d719
parent0bc4d63d9f8840bb1db75f1a23db3b159f6612a2
Duplicate the undo key passed to sp_document_maybe_done, instead of simply
assigning it. Allows the function to be used with dynamically created
keys and fixes undo stack spam when adjusting filter parameter values
(LP #579932).
src/document-undo.cpp
src/document.cpp
src/document.h