Change StringName -> String conversion from operator String() to string().
This commit is contained in:
@@ -966,7 +966,7 @@ void _save_text_editor_theme_as(const String &p_file) {
|
||||
text_colors.sort();
|
||||
for (const KeyValue<StringName, Color> &text_color : text_colors) {
|
||||
const Color val = EditorSettings::get_singleton()->get_setting(text_color.key);
|
||||
const String &key = text_color.key.operator String().replace("text_editor/theme/highlighting/", "");
|
||||
const String &key = text_color.key.string().replace("text_editor/theme/highlighting/", "");
|
||||
cf->set_value(theme_section, key, val.to_html());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user