mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
fix string typing error
This commit is contained in:
@@ -122,7 +122,7 @@ void AddJSONWindow::setJSONType() {
|
||||
FOR_EACH(type, set->game->json_paths) {
|
||||
if (type.starts_with(selection)) {
|
||||
int delimiter_pos = type.find("//");
|
||||
card_array_path->ChangeValue(delimiter_pos + 2 < type.Length() ? type.substr(delimiter_pos + 2).Trim().Trim(false) : wxEmptyString);
|
||||
card_array_path->ChangeValue(delimiter_pos + 2 < type.Length() ? type.substr(delimiter_pos + 2).Trim().Trim(false) : wxString());
|
||||
card_array_path->Enable(false);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user