remember last filament choice and ignore network plugin check for thirdpary printers

This commit is contained in:
SoftFever committed 2022-11-06 14:03:34 +08:00
1 parent ec7a7ff1ff
commit d65311858c
4 files changed
+6 -6

No files matched your search

-2
View File
@@ -459,7 +459,6 @@ std::string AppConfig::load()
for (auto iter = it.value().begin(); iter != it.value().end(); iter++) {
if (iter.key() == "filaments") {
// BBS: filament presets is now considered as project config instead of app config
#if 0
int idx = 0;
for(auto& element: iter.value()) {
if (idx == 0)
@@ -468,7 +467,6 @@ std::string AppConfig::load()
m_storage[it.key()]["filament_" + std::to_string(idx)] = element;
idx++;
}
#endif
} else {
m_storage[it.key()][iter.key()] = iter.value().get<std::string>();
}