fixed an bug that CN plate name was not working properly

This commit is contained in:
SoftFever 2023-08-04 20:36:32 +08:00
parent 580424701b
commit 14f248f8fa
4 changed files with 11 additions and 9 deletions

View file

@ -3654,7 +3654,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
}
else if(key == PLATER_NAME_ATTR)
{
m_curr_plater->plate_name = value;
m_curr_plater->plate_name = value.c_str();
}
else if (key == LOCK_ATTR)
{