Use Del as shortcut for Edit/Delete selected
This commit is contained in:
parent
3e939a7496
commit
a27e238ced
@ -319,7 +319,7 @@ void MainFrame::init_menubar()
|
||||
editMenu = new wxMenu();
|
||||
wxMenuItem* item_select_all = append_menu_item(editMenu, wxID_ANY, L("Select all\tCtrl+A"), L("Selects all objects"),
|
||||
[this](wxCommandEvent&) { m_plater->select_all(); }, "");
|
||||
wxMenuItem* item_delete_sel = append_menu_item(editMenu, wxID_ANY, L("Delete selected\tCtrl+D"), L("Deletes the current selection"),
|
||||
wxMenuItem* item_delete_sel = append_menu_item(editMenu, wxID_ANY, L("Delete selected\tDel"), L("Deletes the current selection"),
|
||||
[this](wxCommandEvent&) { m_plater->remove_selected(); }, "");
|
||||
|
||||
Bind(wxEVT_UPDATE_UI, [this](wxUpdateUIEvent& evt) { evt.Enable(can_select()); }, item_select_all->GetId());
|
||||
|
Loading…
Reference in New Issue
Block a user