We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I've been tinkering a bit with your library in past few days and when trying to limit the history size i keep running into assertion crash at line: https://github.com/dacap/undo/blob/main/undo_history.cpp#L133
I've basically added this at the end of https://github.com/dacap/undo/blob/main/undo_history.cpp#L157:
if ( ++m_addedCommands > 10 ) { deleteFirstState(); --m_addedCommands; }
and then execute a bunch of commands, go backwards, execute commands, go forward, execute commands - after a few front pops it will assert and crash
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I've been tinkering a bit with your library in past few days and when trying to limit the history size i keep running into assertion crash at line:
https://github.com/dacap/undo/blob/main/undo_history.cpp#L133
I've basically added this at the end of https://github.com/dacap/undo/blob/main/undo_history.cpp#L157:
and then execute a bunch of commands, go backwards, execute commands, go forward, execute commands - after a few front pops it will assert and crash
The text was updated successfully, but these errors were encountered: