Skip to content
Commit d97692a9 authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Workaround recursive calls in UndoStack

In some cases, when the user clicks in the history docker too
quickly, the undo requests may arrive recursively. Because there
are a few commands that demand processEvent() calls after their
execution. This patch workarounds the recursive issue using the
ticket-like system for the requests and ensuring that all of them
are executed at the topmost level of recursion.

CCBUG:432329
parent 212236cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment