fix: calibration crash when cancelling the model-load dialog (#14546)

This commit is contained in:
Kris Austin
2026-07-20 18:16:42 -03:00
committed by GitHub
parent 4e4e867502
commit 0d6022477b
2 changed files with 23 additions and 12 deletions
+2 -1
View File
@@ -328,7 +328,8 @@ public:
bool open_3mf_file(const fs::path &file_path);
int get_3mf_file_count(std::vector<fs::path> paths);
void add_file();
void add_model(bool imperial_units = false, std::string fname = "");
// Returns false when no object was added (e.g. the user cancelled the load dialog).
bool add_model(bool imperial_units = false, std::string fname = "");
void import_zip_archive();
void import_sl1_archive();
void extract_config_from_project();