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

This commit is contained in:
SoftFever 2022-11-06 14:03:15 +08:00
parent ec7a7ff1ff
commit d65311858c
4 changed files with 6 additions and 6 deletions

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>();
}