mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #14397 from YeldhamDev/localization_tab
Removed style override inside the Localization tab in the Project Settings
This commit is contained in:
commit
28b317966f
@ -1776,7 +1776,6 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
||||
|
||||
//translations
|
||||
TabContainer *translations = memnew(TabContainer);
|
||||
translations->add_style_override("panel", memnew(StyleBoxEmpty));
|
||||
translations->set_tab_align(TabContainer::ALIGN_LEFT);
|
||||
translations->set_name(TTR("Localization"));
|
||||
tab_container->add_child(translations);
|
||||
@ -1888,19 +1887,14 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
||||
translation_filter->connect("item_edited", this, "_translation_filter_option_changed");
|
||||
}
|
||||
|
||||
{
|
||||
autoload_settings = memnew(EditorAutoloadSettings);
|
||||
autoload_settings->set_name(TTR("AutoLoad"));
|
||||
tab_container->add_child(autoload_settings);
|
||||
autoload_settings->connect("autoload_changed", this, "_settings_changed");
|
||||
}
|
||||
autoload_settings = memnew(EditorAutoloadSettings);
|
||||
autoload_settings->set_name(TTR("AutoLoad"));
|
||||
tab_container->add_child(autoload_settings);
|
||||
autoload_settings->connect("autoload_changed", this, "_settings_changed");
|
||||
|
||||
{
|
||||
|
||||
plugin_settings = memnew(EditorPluginSettings);
|
||||
plugin_settings->set_name(TTR("Plugins"));
|
||||
tab_container->add_child(plugin_settings);
|
||||
}
|
||||
plugin_settings = memnew(EditorPluginSettings);
|
||||
plugin_settings->set_name(TTR("Plugins"));
|
||||
tab_container->add_child(plugin_settings);
|
||||
|
||||
timer = memnew(Timer);
|
||||
timer->set_wait_time(1.5);
|
||||
|
Loading…
Reference in New Issue
Block a user