You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
fixed update import label in importer dock
This commit is contained in:
@@ -351,6 +351,15 @@ void ImportDock::_reimport() {
|
||||
EditorFileSystem::get_singleton()->emit_signal("filesystem_changed"); //it changed, so force emitting the signal
|
||||
}
|
||||
|
||||
void ImportDock::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
|
||||
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
|
||||
|
||||
imported->add_style_override("normal", get_stylebox("normal", "LineEdit"));
|
||||
} break;
|
||||
}
|
||||
}
|
||||
void ImportDock::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_reimport"), &ImportDock::_reimport);
|
||||
|
||||
Reference in New Issue
Block a user