mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
Added undo/redo icons. Fist step to implementation Undo/Redo list for toolbar
This commit is contained in:
parent
7b6229289d
commit
fbf14b42e9
9 changed files with 128 additions and 1 deletions
|
@ -508,7 +508,7 @@ void MainFrame::init_menubar()
|
|||
"undo", nullptr, [this](){return m_plater->can_undo(); }, this);
|
||||
append_menu_item(editMenu, wxID_ANY, _(L("&Redo")) + sep + GUI::shortkey_ctrl_prefix() + sep_space + "Y",
|
||||
_(L("Redo")), [this](wxCommandEvent&) { m_plater->redo(); },
|
||||
"undo", nullptr, [this](){return m_plater->can_redo(); }, this);
|
||||
"redo", nullptr, [this](){return m_plater->can_redo(); }, this);
|
||||
|
||||
editMenu->AppendSeparator();
|
||||
append_menu_item(editMenu, wxID_ANY, _(L("&Copy")) + sep + GUI::shortkey_ctrl_prefix() + sep_space + "C",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue