9496b57b01
Re-arranging the stack will invalidate the iterator that is removed and
inserted (begin()). Because this is not a threaded operation, we can
only do it to ourselves, so check that the operation isn't a NOP before
performing.
Fixes: lp:1832930
* https://bugs.launchpad.net/kicad/+bug/1832930
(cherry picked from commit
|
||
---|---|---|
.. | ||
action_manager.cpp | ||
actions.cpp | ||
common_tools.cpp | ||
conditional_menu.cpp | ||
context_menu.cpp | ||
grid_menu.cpp | ||
selection_conditions.cpp | ||
tool_action.cpp | ||
tool_base.cpp | ||
tool_dispatcher.cpp | ||
tool_event.cpp | ||
tool_interactive.cpp | ||
tool_manager.cpp | ||
tool_menu.cpp | ||
zoom_menu.cpp | ||
zoom_tool.cpp |