summaryrefslogtreecommitdiff
path: root/editor/project_settings_editor.cpp
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2017-12-07 21:49:44 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2017-12-07 21:49:44 -0200
commitf482ed085336520cf8f7072e446b8757307619e3 (patch)
tree9974cb992175b27dada626021f63ca934dc45eca /editor/project_settings_editor.cpp
parentdcab01618ae9eaa18e16b377728125379a8f48bc (diff)
Removed style override inside the Localization tab in the Project Settings.
Diffstat (limited to 'editor/project_settings_editor.cpp')
-rw-r--r--editor/project_settings_editor.cpp20
1 files changed, 7 insertions, 13 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp
index 900f7625bc..76fd20ca12 100644
--- a/editor/project_settings_editor.cpp
+++ b/editor/project_settings_editor.cpp
@@ -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);