mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
GUI: Fix calls to PrintingTaskPanel::show_profile_info (#2219)
These will not compile on STL builds of wxWidgets. I assume that on the non-STL variants, the first argument is cast to a boolean, which might be a bug…
This commit is contained in:
parent
ca534b5b96
commit
3b864e562a
2 changed files with 3 additions and 3 deletions
|
@ -2626,7 +2626,7 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
|||
m_project_task_panel->update_subtask_name(wxString::Format("%s", GUI::from_u8(obj->subtask_name)));
|
||||
|
||||
if (obj->get_modeltask() && obj->get_modeltask()->design_id > 0) {
|
||||
m_project_task_panel->show_profile_info(wxString::FromUTF8(obj->get_modeltask()->profile_name));
|
||||
m_project_task_panel->show_profile_info(true, wxString::FromUTF8(obj->get_modeltask()->profile_name));
|
||||
}
|
||||
else {
|
||||
m_project_task_panel->show_profile_info(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue