This commit is contained in:
bubnikv 2019-03-14 16:32:22 +01:00
commit 3b38c36262
2 changed files with 3 additions and 3 deletions

View file

@ -44,12 +44,12 @@ static PrinterTechnology printer_technology()
}
// Config from current edited printer preset
DynamicPrintConfig& printer_config()
static DynamicPrintConfig& printer_config()
{
return wxGetApp().preset_bundle->printers.get_edited_preset().config;
}
int extruders_count()
static int extruders_count()
{
return printer_technology() == ptSLA ? 1 :
printer_config().option<ConfigOptionFloats>("nozzle_diameter")->values.size();

View file

@ -74,7 +74,7 @@ void Tab::set_type()
void Tab::create_preset_tab()
{
#ifdef __WINDOWS__
SetDoubleBuffered(true);
// SetDoubleBuffered(true);
#endif //__WINDOWS__
m_preset_bundle = wxGetApp().preset_bundle;