-Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons

-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
This commit is contained in:
Juan Linietsky 2016-09-11 10:01:52 -03:00
parent e6ef92d217
commit 1bf684cea2
9 changed files with 47 additions and 31 deletions

View file

@ -1513,6 +1513,7 @@ void ScriptEditor::edit(const Ref<Script>& p_script, bool p_grab_focus) {
}
ERR_FAIL_COND(!se);
tab_container->add_child(se);
se->set_edited_script(p_script);
se->set_tooltip_request_func("_get_debug_tooltip",this);
if (se->get_edit_menu()) {