ENH: add 'edit preset' and 'delete preset' btn for each preset

Jira: 5200 5113

Change-Id: I208ad63eb4b895306fa76db424da2e1df10a582e
Signed-off-by: maosheng.wei <maosheng.wei@bambulab.com>
This commit is contained in:
maosheng.wei
2023-11-05 14:08:33 +08:00
committed by Lane.Wei
parent e0d38f15cb
commit 90dd8bbe86
6 changed files with 367 additions and 109 deletions

View File

@@ -4501,7 +4501,7 @@ bool Tab::select_preset(std::string preset_name, bool delete_current /*=false*/,
apply_config_from_cache();
load_current_preset();
if (delete_third_printer) {
wxGetApp().CallAfter([filament_presets, process_presets]() {
PresetBundle *preset_bundle = wxGetApp().preset_bundle;