Deactivate undo/redo toolbar items by pressing Esc key
This commit is contained in:
parent
dbf0eacfa7
commit
f964f5e99a
1 changed files with 3 additions and 0 deletions
|
@ -2326,6 +2326,9 @@ void GLCanvas3D::on_char(wxKeyEvent& evt)
|
|||
return;
|
||||
}
|
||||
|
||||
if ((keyCode == WXK_ESCAPE) && _deactivate_undo_redo_toolbar_items())
|
||||
return;
|
||||
|
||||
if (m_gizmos.on_char(evt, *this))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue