diff options
| author | Michael Alexsander Silva Dias | 2018-02-14 01:24:57 -0200 |
|---|---|---|
| committer | Michael Alexsander Silva Dias | 2018-02-14 03:38:07 -0200 |
| commit | 4dbf6ac1b890ff6333d1600d2c091baa176b356c (patch) | |
| tree | ecbe1d56cc0be641310ec351bffe309a945cbe14 /editor/plugins/script_editor_plugin.cpp | |
| parent | e7351ecdf5f14f1b6a8733f91fd90646406d77a5 (diff) | |
| download | godot-4dbf6ac1b890ff6333d1600d2c091baa176b356c.tar.gz godot-4dbf6ac1b890ff6333d1600d2c091baa176b356c.tar.zst godot-4dbf6ac1b890ff6333d1600d2c091baa176b356c.zip | |
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index d7331d4f7..bd8c502a8 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -148,8 +148,6 @@ public: } }; -#define SORT_SCRIPT_LIST - void ScriptEditorQuickOpen::popup(const Vector<String> &p_functions, bool p_dontclear) { popup_centered_ratio(0.6); @@ -2608,11 +2606,13 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { members_overview = memnew(ItemList); list_split->add_child(members_overview); + members_overview->set_allow_reselect(true); members_overview->set_custom_minimum_size(Size2(0, 90)); //need to give a bit of limit to avoid it from disappearing members_overview->set_v_size_flags(SIZE_EXPAND_FILL); help_overview = memnew(ItemList); list_split->add_child(help_overview); + help_overview->set_allow_reselect(true); help_overview->set_custom_minimum_size(Size2(0, 90)); //need to give a bit of limit to avoid it from disappearing help_overview->set_v_size_flags(SIZE_EXPAND_FILL); |
