Added undo/redo icons. Fist step to implementation Undo/Redo list for toolbar

This commit is contained in:
YuSanka 2019-07-08 18:01:14 +02:00
parent 7b6229289d
commit fbf14b42e9
9 changed files with 128 additions and 1 deletions

View file

@ -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",