mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 18:59:02 +08:00
Reworderd undo / redo tooltips
This commit is contained in:
parent
1e11eab620
commit
faf7a1d789
@ -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…
x
Reference in New Issue
Block a user