mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-16 14:22:43 -07:00
Fixed crashes caused by the preceding commit.
This commit is contained in:
@@ -2245,8 +2245,7 @@ std::string DynamicPrintConfig::validate()
|
||||
size_t DynamicPrintConfig::remove_keys_not_in(const DynamicPrintConfig &default_config, std::string &removed_keys_message)
|
||||
{
|
||||
size_t n_removed_keys = 0;
|
||||
for (const auto &kvp : this->options) {
|
||||
const std::string &key = kvp.first;
|
||||
for (const std::string &key : this->keys()) {
|
||||
if (! default_config.has(key)) {
|
||||
if (removed_keys_message.empty())
|
||||
removed_keys_message = key;
|
||||
|
||||
Reference in New Issue
Block a user