Localization improvements:
* added wrapper to SliderFloat in imgui * fixed localized text in Mouse3DController * added take_snapshot for extruder change in object list * fixed text typos in AppConfig.cpp, ConfigWizard.cpp and ConfigManipulation.cpp
This commit is contained in:
parent
ef29b13c5e
commit
fea91829eb
7 changed files with 32 additions and 8 deletions
src/slic3r/GUI
|
@ -525,6 +525,8 @@ void ObjectList::update_extruder_in_config(const wxDataViewItem& item)
|
|||
if (!m_config)
|
||||
return;
|
||||
|
||||
take_snapshot(_(L("Change Extruder")));
|
||||
|
||||
const int extruder = m_objects_model->GetExtruderNumber(item);
|
||||
m_config->set_key_value("extruder", new ConfigOptionInt(extruder));
|
||||
|
||||
|
@ -3846,6 +3848,9 @@ void ObjectList::set_extruder_for_selected_items(const int extruder) const
|
|||
wxDataViewItemArray sels;
|
||||
GetSelections(sels);
|
||||
|
||||
if (!sels.empty())
|
||||
take_snapshot(_(L("Change Extruders")));
|
||||
|
||||
for (const wxDataViewItem& item : sels)
|
||||
{
|
||||
DynamicPrintConfig& config = get_item_config(item);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue