mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 20:39:00 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((keyCode == WXK_ESCAPE) && _deactivate_undo_redo_toolbar_items())
|
||||||
|
return;
|
||||||
|
|
||||||
if (m_gizmos.on_char(evt, *this))
|
if (m_gizmos.on_char(evt, *this))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user