mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 05:37:52 -06:00
Horizontal slider in preview to show always (and only) gcode lines indices
This commit is contained in:
parent
226353452e
commit
86da45eb66
5 changed files with 3 additions and 23 deletions
|
@ -292,14 +292,6 @@ void PreferencesDialog::build()
|
|||
option = Option(def, "seq_top_layer_only");
|
||||
m_optgroup_gui->append_single_option_line(option);
|
||||
|
||||
def.label = L("Sequential slider shows gcode line numbers");
|
||||
def.type = coBool;
|
||||
def.tooltip = L("If enabled, the sequential slider, in preview, shows the gcode lines numbers."
|
||||
"If disabled, the sequential slider, in preview, shows the move index.");
|
||||
def.set_default_value(new ConfigOptionBool{ app_config->get("seq_top_gcode_indices") == "1" });
|
||||
option = Option(def, "seq_top_gcode_indices");
|
||||
m_optgroup_gui->append_single_option_line(option);
|
||||
|
||||
if (is_editor) {
|
||||
def.label = L("Show sidebar collapse/expand button");
|
||||
def.type = coBool;
|
||||
|
@ -436,10 +428,6 @@ void PreferencesDialog::accept(wxEvent&)
|
|||
if (auto it = m_values.find("seq_top_layer_only"); it != m_values.end())
|
||||
m_seq_top_layer_only_changed = app_config->get("seq_top_layer_only") != it->second;
|
||||
|
||||
m_seq_top_gcode_indices_changed = false;
|
||||
if (auto it = m_values.find("seq_top_gcode_indices"); it != m_values.end())
|
||||
m_seq_top_gcode_indices_changed = app_config->get("seq_top_gcode_indices") != it->second;
|
||||
|
||||
m_settings_layout_changed = false;
|
||||
for (const std::string& key : { "old_settings_layout_mode",
|
||||
"new_settings_layout_mode",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue