mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 00:15:56 +08:00
Do not allow undo for not stored style
This commit is contained in:
parent
56b5e5edfb
commit
32573178c3
@ -1126,7 +1126,7 @@ void GLGizmoEmboss::draw_style_list() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_changed) {
|
if (is_stored && is_changed) {
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (draw_button(IconType::undo)) {
|
if (draw_button(IconType::undo)) {
|
||||||
bool is_path_changed = font_item.path != m_stored_font_item->path;
|
bool is_path_changed = font_item.path != m_stored_font_item->path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user