mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
SplashScreen: Fixed message text
UnsavedChangesDialog: Disabled "Move changes to selected preset" button, when printer technology is changed PresetComboBox: Fixed color of the filament, if it is modified
This commit is contained in:
@@ -741,7 +741,8 @@ void PlaterPresetComboBox::update()
|
||||
if (m_type == Preset::TYPE_FILAMENT)
|
||||
{
|
||||
// Assign an extruder color to the selected item if the extruder color is defined.
|
||||
filament_rgb = preset.config.opt_string("filament_colour", 0);
|
||||
filament_rgb = is_selected ? selected_filament_preset->config.opt_string("filament_colour", 0) :
|
||||
preset.config.opt_string("filament_colour", 0);
|
||||
extruder_rgb = (is_selected && !extruder_color.empty()) ? extruder_color : filament_rgb;
|
||||
single_bar = filament_rgb == extruder_rgb;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user