mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Reworderd undo / redo tooltips
This commit is contained in:
parent
1e11eab620
commit
faf7a1d789
1 changed files with 2 additions and 2 deletions
|
@ -3712,7 +3712,7 @@ bool GLCanvas3D::_init_undoredo_toolbar()
|
||||||
if (can_undo) {
|
if (can_undo) {
|
||||||
std::string action;
|
std::string action;
|
||||||
wxGetApp().plater()->undo_redo_topmost_string_getter(true, action);
|
wxGetApp().plater()->undo_redo_topmost_string_getter(true, action);
|
||||||
new_additional_tooltip = (boost::format(_utf8(L("Undo action: %1%"))) % action).str();
|
new_additional_tooltip = (boost::format(_utf8(L("Next Undo action: %1%"))) % action).str();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (new_additional_tooltip != curr_additional_tooltip)
|
if (new_additional_tooltip != curr_additional_tooltip)
|
||||||
|
@ -3744,7 +3744,7 @@ bool GLCanvas3D::_init_undoredo_toolbar()
|
||||||
if (can_redo) {
|
if (can_redo) {
|
||||||
std::string action;
|
std::string action;
|
||||||
wxGetApp().plater()->undo_redo_topmost_string_getter(false, action);
|
wxGetApp().plater()->undo_redo_topmost_string_getter(false, action);
|
||||||
new_additional_tooltip = (boost::format(_utf8(L("Redo action: %1%"))) % action).str();
|
new_additional_tooltip = (boost::format(_utf8(L("Next Redo action: %1%"))) % action).str();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (new_additional_tooltip != curr_additional_tooltip)
|
if (new_additional_tooltip != curr_additional_tooltip)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue