mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-28 05:51:59 +08:00
Try to fix #977
This commit is contained in:
parent
68cd51435f
commit
ee4f2cf549
@ -3379,7 +3379,13 @@ void GLCanvas3D::on_key_down(wxKeyEvent& evt)
|
|||||||
if (key == WXK_DELETE)
|
if (key == WXK_DELETE)
|
||||||
m_on_remove_object_callback.call();
|
m_on_remove_object_callback.call();
|
||||||
else
|
else
|
||||||
evt.Skip();
|
{
|
||||||
|
#ifdef __WXOSX__
|
||||||
|
if (key == WXK_BACK)
|
||||||
|
m_on_remove_object_callback.call();
|
||||||
|
#endif
|
||||||
|
evt.Skip();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user