Merge pull request #252 from shuffle2/master
Assign "user_defined" value properly for downloaded Gecko codes.
This commit is contained in:
commit
36a693e4fc
|
@ -229,6 +229,7 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&)
|
||||||
// stop at [ character (beginning of contributor name)
|
// stop at [ character (beginning of contributor name)
|
||||||
std::getline(ssline, gcode.name, '[');
|
std::getline(ssline, gcode.name, '[');
|
||||||
gcode.name = StripSpaces(gcode.name);
|
gcode.name = StripSpaces(gcode.name);
|
||||||
|
gcode.user_defined = true;
|
||||||
// read the code creator name
|
// read the code creator name
|
||||||
std::getline(ssline, gcode.creator, ']');
|
std::getline(ssline, gcode.creator, ']');
|
||||||
read_state = 1;
|
read_state = 1;
|
||||||
|
|
Loading…
Reference in New Issue