Fix of #4428
Don't update a visibility of the collapse_toolbar: if sidebar is collapsed and "show_collapse_button" doesn't have "true" value + Fixed typos in the Preferences.cpp
This commit is contained in:
parent
f5c7034f47
commit
990bfc0d76
2 changed files with 4 additions and 7 deletions
src/slic3r/GUI
|
@ -161,7 +161,7 @@ void PreferencesDialog::build()
|
|||
}
|
||||
};
|
||||
|
||||
def.label = L("Show the button for the collapse sidebar");
|
||||
def.label = L("Show sidebar collapse/expand button");
|
||||
def.type = coBool;
|
||||
def.tooltip = L("If enabled, the button for the collapse sidebar will be appeared in top right corner of the 3D Scene");
|
||||
def.set_default_value(new ConfigOptionBool{ app_config->get("show_collapse_button") == "1" });
|
||||
|
@ -353,9 +353,9 @@ void PreferencesDialog::create_icon_size_slider()
|
|||
|
||||
void PreferencesDialog::create_settings_mode_widget()
|
||||
{
|
||||
wxString choices[] = { _L("Old regular layout with tab bar"),
|
||||
_L("New layout without the tab bar on the platter"),
|
||||
_L("Settings will be shown in non-modal dialog") };
|
||||
wxString choices[] = { _L("Old regular layout with the tab bar"),
|
||||
_L("New layout without the tab bar on the plater"),
|
||||
_L("Settings will be shown in the non-modal dialog") };
|
||||
|
||||
auto app_config = get_app_config();
|
||||
int selection = app_config->get("old_settings_layout_mode") == "1" ? 0 :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue