mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
Fix option nullable
This commit is contained in:
@@ -18,7 +18,7 @@ static bool should_pop_up()
|
||||
{
|
||||
const auto &preset_bundle = wxGetApp().preset_bundle;
|
||||
const auto &full_config = preset_bundle->full_config();
|
||||
const auto nozzle_diameters = full_config.option<ConfigOptionFloatsNullable>("nozzle_diameter");
|
||||
const auto nozzle_diameters = full_config.option<ConfigOptionFloats>("nozzle_diameter");
|
||||
return nozzle_diameters->size() > 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user