Skip to content

Commit

Permalink
light/dark mode fixes for custom gcode editor
Browse files Browse the repository at this point in the history
Signed-off-by: Jamin W. Collins <[email protected]>
  • Loading branch information
jamincollins committed Apr 12, 2024
1 parent eca2fdf commit 9fdd26e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/slic3r/GUI/EditGCodeDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ void EditGCodeDialog::init_params_list(const std::string& custom_gcode_name)
custom_gcode_placeholders.at(custom_gcode_name) : t_config_option_keys({});

// Add slicing states placeholders
m_params_list->SetForegroundColour(wxColour(0, 0, 0));

wxDataViewItem slicing_state = m_params_list->AppendGroup(_L("[Global] Slicing State"), "custom-gcode_slicing-state_global");
if (!cgp_ro_slicing_states_config_def.empty()) {
Expand Down Expand Up @@ -239,6 +240,8 @@ void EditGCodeDialog::init_params_list(const std::string& custom_gcode_name)
if (!cgp_other_presets_config_def.empty())
for (const auto& [opt_key, def] : cgp_other_presets_config_def.options)
m_params_list->AppendParam(presets, get_type(opt_key, def), opt_key);

wxGetApp().UpdateDarkUI(m_params_list);
}

wxDataViewItem EditGCodeDialog::add_presets_placeholders()
Expand Down

0 comments on commit 9fdd26e

Please sign in to comment.