mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 07:38:58 +08:00
Deactivate undo/redo toolbar items by pressing Esc key
This commit is contained in:
parent
dbf0eacfa7
commit
f964f5e99a
@ -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…
x
Reference in New Issue
Block a user