Use Core/Scene stringnames consistently
This commit is contained in:
parent
de196227e1
commit
413c11357d
214 changed files with 650 additions and 765 deletions
|
|
@ -708,7 +708,7 @@ void ImportDock::_notification(int p_what) {
|
|||
switch (p_what) {
|
||||
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
|
||||
if (EditorThemeManager::is_generated_theme_outdated()) {
|
||||
imported->add_theme_style_override("normal", get_theme_stylebox(SNAME("normal"), SNAME("LineEdit")));
|
||||
imported->add_theme_style_override("normal", get_theme_stylebox(CoreStringName(normal), SNAME("LineEdit")));
|
||||
}
|
||||
} break;
|
||||
|
||||
|
|
@ -765,7 +765,7 @@ ImportDock::ImportDock() {
|
|||
content->hide();
|
||||
|
||||
imported = memnew(Label);
|
||||
imported->add_theme_style_override("normal", EditorNode::get_singleton()->get_editor_theme()->get_stylebox(SNAME("normal"), SNAME("LineEdit")));
|
||||
imported->add_theme_style_override("normal", EditorNode::get_singleton()->get_editor_theme()->get_stylebox(CoreStringName(normal), SNAME("LineEdit")));
|
||||
imported->set_clip_text(true);
|
||||
content->add_child(imported);
|
||||
HBoxContainer *hb = memnew(HBoxContainer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue