mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
New preferences key "clear_undo_redo_stack_on_new_project", set to "1"
by default: Clear Undo / Redo stack on new project or load project. Fixes Clear undo chain #2812
This commit is contained in:
committed by
Lukas Matena
parent
1f3b272d77
commit
aeb18e729d
@@ -147,6 +147,9 @@ void AppConfig::set_defaults()
|
||||
|
||||
if (get("order_volumes").empty())
|
||||
set("order_volumes", "1");
|
||||
|
||||
if (get("clear_undo_redo_stack_on_new_project").empty())
|
||||
set("clear_undo_redo_stack_on_new_project", "1");
|
||||
}
|
||||
else {
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user