mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-20 09:22:13 +00:00
ENH: add shortcut key of clone
Change-Id: I63a570ac05695d6cd1e36293f7ca9858d9f7f358
This commit is contained in:
@@ -1452,7 +1452,12 @@ wxMenu* MenuFactory::assemble_part_menu()
|
||||
|
||||
void MenuFactory::append_menu_item_clone(wxMenu* menu)
|
||||
{
|
||||
append_menu_item(menu, wxID_ANY, _L("Clone") , "",
|
||||
#ifdef __APPLE__
|
||||
static const wxString ctrl = ("Ctrl+");
|
||||
#else
|
||||
static const wxString ctrl = _L("Ctrl+");
|
||||
#endif
|
||||
append_menu_item(menu, wxID_ANY, _L("Clone") + "\t" + ctrl + "Q", "",
|
||||
[this](wxCommandEvent&) {
|
||||
plater()->clone_selection();
|
||||
}, "", nullptr,
|
||||
|
||||
Reference in New Issue
Block a user