Follow up e2475c9576 = code refactoring

This commit is contained in:
YuSanka 2021-10-25 16:55:02 +02:00
parent 0836fbb453
commit 0c29eb9943
2 changed files with 2 additions and 1 deletions

View file

@ -160,7 +160,7 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con
apply(config, &new_conf);
}
static bool support_material_overhangs_queried = set_support_material_overhangs_queried;
support_material_overhangs_queried = set_support_material_overhangs_queried;
if (config->opt_bool("support_material")) {
// Ask only once.

View file

@ -20,6 +20,7 @@ namespace GUI {
class ConfigManipulation
{
bool is_msg_dlg_already_exist{ false };
bool support_material_overhangs_queried{ false };
// function to loading of changed configuration
std::function<void()> load_config = nullptr;