Fix doc methods not showing up

This commit is contained in:
Guilherme Felipe 2017-12-18 20:35:15 -02:00
parent d81bd965b6
commit 5c0271eed7

View file

@ -947,7 +947,6 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
class_desc->add_newline();
}
bool method_descr = false;
bool sort_methods = EditorSettings::get_singleton()->get("text_editor/help/sort_functions_alphabetically");
Vector<DocData::MethodDoc> methods;
@ -1410,8 +1409,6 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
}
}
if (method_descr) {
section_line.push_back(Pair<String, int>(TTR("Methods"), class_desc->get_line_count() - 2));
class_desc->push_color(title_color);
class_desc->push_font(doc_title_font);
@ -1447,7 +1444,6 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
class_desc->add_newline();
class_desc->add_newline();
}
}
scroll_locked = false;