Fixed deletion of objects/volumes by pressing Del key while the mouse cursor is hovering the objects list in sidebar
This commit is contained in:
parent
1c72351ba0
commit
d701dfe436
@ -1049,7 +1049,7 @@ void ObjectList::key_event(wxKeyEvent& event)
|
|||||||
|| event.GetKeyCode() == WXK_BACK
|
|| event.GetKeyCode() == WXK_BACK
|
||||||
#endif //__WXOSX__
|
#endif //__WXOSX__
|
||||||
) {
|
) {
|
||||||
remove();
|
wxGetApp().plater()->remove_selected();
|
||||||
}
|
}
|
||||||
else if (event.GetKeyCode() == WXK_F5)
|
else if (event.GetKeyCode() == WXK_F5)
|
||||||
wxGetApp().plater()->reload_all_from_disk();
|
wxGetApp().plater()->reload_all_from_disk();
|
||||||
|
Loading…
Reference in New Issue
Block a user