mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 05:07:51 -06:00
Correct preset/tabs updating according to the technology
+ some code refactoring
This commit is contained in:
parent
da16b28c14
commit
adf003f0ed
8 changed files with 64 additions and 83 deletions
|
@ -1299,7 +1299,7 @@ bool PresetBundle::parse_color(const std::string &scolor, unsigned char *rgb_out
|
|||
|
||||
void PresetBundle::update_platter_filament_ui(unsigned int idx_extruder, wxBitmapComboBox *ui)
|
||||
{
|
||||
if (ui == nullptr)
|
||||
if (ui == nullptr || this->printers.get_edited_preset().printer_technology() == ptSLA)
|
||||
return;
|
||||
|
||||
unsigned char rgb[3];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue