Assign "user_defined" value properly for downloaded Gecko codes.
Fixes Issue 7156.
This commit is contained in:
parent
7d8604ac1c
commit
0c145dd1aa
|
@ -229,6 +229,7 @@ void CodeConfigPanel::DownloadCodes(wxCommandEvent&)
|
|||
// stop at [ character (beginning of contributor name)
|
||||
std::getline(ssline, gcode.name, '[');
|
||||
gcode.name = StripSpaces(gcode.name);
|
||||
gcode.user_defined = true;
|
||||
// read the code creator name
|
||||
std::getline(ssline, gcode.creator, ']');
|
||||
read_state = 1;
|
||||
|
|
Loading…
Reference in New Issue