FIX: Client uses default preset when reopening from project with non-local printer

Change-Id: Ieded9d63338d74ca841e89aca16a9510355ee417
Jira: STUDIO-13490
(cherry picked from commit df2ee1cc533e2a7f5f71b4d880b08a6665b028ee)
This commit is contained in:
weiting.ji
2025-10-02 09:43:28 +08:00
committed by Noisyfox
parent 1304b315c7
commit e8ae3d1753
2 changed files with 8 additions and 3 deletions
+1
View File
@@ -335,6 +335,7 @@ public:
std::string get_current_printer_type(PresetBundle *preset_bundle); // get current preset type
static void get_extruder_names_and_keysets(Type type, std::string& extruder_id_name, std::string& extruder_variant_name, std::set<std::string>** p_key_set1, std::set<std::string>** p_key_set2);
std::string get_printer_id() const { return vendor ? vendor->id : ""; }
bool has_lidar(PresetBundle *preset_bundle);
bool is_custom_defined();