Repository navigation
Undo/Redo preserves clip IDs - #7880
Merged
saintmatthieu merged 1 commit intoDec 11, 2024
Merged
saintmatthieu merged 1 commit into
saintmatthieu merged 1 commit into
Conversation
6 tasks done
kryksyh
reviewed
Dec 10, 2024
Member
There was a problem hiding this comment.
Suggested change
| auto pTrack = aTrack->Duplicate(options); | |
| auto pTrack = aTrack->Duplicate(DuplicateOptions {}.Backup()); |
There is a bit nicer syntax for it
Contributor
Author
There was a problem hiding this comment.
I missed that, thanks.
Member
There was a problem hiding this comment.
If we decided that forClipboard and backup are mutually exclusive, do we need to add another argument?
Contributor
Author
There was a problem hiding this comment.
But I'm not sure that they are 😬 See
// If for the clipboard, then this is definitely not a backup action.
// MH: And if it isn't ?..
I guess this method could be called programmatically (hence not for the clipboard) but yet not for backup purpose. For this reason I prefer this uncertainty to be reflected here in case someone in the future this turns out to be a problem and someone debugs this.
saintmatthieu
force-pushed
the
7879-undo-redo-preserves-clip-IDs
branch
from
December 10, 2024 13:48
a4b2619 to
dd87f7e
Compare
kryksyh
approved these changes
Dec 10, 2024
This was referenced Dec 11, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #7358
Recommended:
QA: Please verify if it's also fixed other undo/redo-related bugs, such as