fixed typo in update_extruder_in_config

This commit is contained in:
YuSanka 2018-08-14 16:16:26 +02:00
parent 92b578779e
commit 3c3b8ed76f

View File

@ -1476,7 +1476,7 @@ void set_extruder_column_hidden(bool hide)
void update_extruder_in_config(const wxString& selection) void update_extruder_in_config(const wxString& selection)
{ {
printf("BEGIN OF update_extruder_in_config\n"); printf("BEGIN OF update_extruder_in_config\n");
if (!*m_config || selection.empty()) if (!m_config || selection.empty())
return; return;
int extruder = selection.size() > 1 ? 0 : atoi(selection.c_str()); int extruder = selection.size() > 1 ? 0 : atoi(selection.c_str());