Project Settings 'restart' message put focus on editor rather than project itself

Fixes: #39613
This commit is contained in:
Dominik 'dreamsComeTrue' Jasiński 2020-06-19 00:43:57 +02:00
parent 4e0f31a67c
commit 251f43d79e

View File

@ -1865,7 +1865,7 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
restart_icon->set_v_size_flags(Control::SIZE_SHRINK_CENTER); restart_icon->set_v_size_flags(Control::SIZE_SHRINK_CENTER);
restart_hb->add_child(restart_icon); restart_hb->add_child(restart_icon);
restart_label = memnew(Label); restart_label = memnew(Label);
restart_label->set_text(TTR("The editor must be restarted for changes to take effect.")); restart_label->set_text(TTR("Changed settings will be applied to the editor after restarting."));
restart_hb->add_child(restart_label); restart_hb->add_child(restart_label);
restart_hb->add_spacer(); restart_hb->add_spacer();
Button *restart_button = memnew(Button); Button *restart_button = memnew(Button);