FIX: delete plate shouldn't have a shortcut key
Change-Id: Icbe920c4ae30c2054cc7e114e00e829b862b04b0
This commit is contained in:
parent
92266c1edf
commit
2954a947af
1 changed files with 2 additions and 2 deletions
|
@ -1197,11 +1197,11 @@ void MenuFactory::create_plate_menu()
|
|||
|
||||
// delete current plate
|
||||
#ifdef __WINDOWS__
|
||||
append_menu_item(menu, wxID_ANY, _L("Delete") + "\t" + _L("Del"), _L("Remove the selected plate"),
|
||||
append_menu_item(menu, wxID_ANY, _L("Delete Plate"), _L("Remove the selected plate"),
|
||||
[](wxCommandEvent&) { plater()->delete_plate(); }, "menu_delete", nullptr,
|
||||
[]() { return plater()->can_delete_plate(); }, m_parent);
|
||||
#else
|
||||
append_menu_item(menu, wxID_ANY, _L("Delete") + "\tBackSpace", _L("Remove the selected plate"),
|
||||
append_menu_item(menu, wxID_ANY, _L("Delete Plate"), _L("Remove the selected plate"),
|
||||
[](wxCommandEvent&) { plater()->delete_plate(); }, "", nullptr,
|
||||
[]() { return plater()->can_delete_plate(); }, m_parent);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue