Follow-up of 3a99b23ec7 -> F5 accelerator added also to objects list

This commit is contained in:
Enrico Turri 2020-02-03 15:47:09 +01:00
parent 8453c88482
commit 03680bb014
2 changed files with 6 additions and 1 deletions
src/slic3r/GUI

View file

@ -978,6 +978,8 @@ void ObjectList::key_event(wxKeyEvent& event)
) {
remove();
}
else if (event.GetKeyCode() == WXK_F5)
wxGetApp().plater()->reload_all_from_disk();
else if (wxGetKeyState(wxKeyCode('A')) && wxGetKeyState(WXK_CONTROL/*WXK_SHIFT*/))
select_item_all_children();
else if (wxGetKeyState(wxKeyCode('C')) && wxGetKeyState(WXK_CONTROL))