diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-06 08:10:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 08:10:28 +0100 |
commit | b70a83a2b9be57467cc1572ba6f5d45e4c09d661 (patch) | |
tree | dcadf2b84f904d07951d2083f23d3f486377bcdc /editor/plugins/script_editor_plugin.cpp | |
parent | d37e8586becf5e3abda5d3b13a06e4fd664364bc (diff) | |
parent | 7d44bb8f0652e0f592030b3e296e835d72edc70f (diff) |
Merge pull request #58813 from KoBeWi/reset_minsize
Remove set_as_minsize()
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 827eeababf..43467a6c41 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -682,7 +682,7 @@ void ScriptEditor::_update_recent_scripts() { recent_scripts->add_shortcut(ED_SHORTCUT("script_editor/clear_recent", TTR("Clear Recent Files"))); recent_scripts->set_item_disabled(recent_scripts->get_item_id(recent_scripts->get_item_count() - 1), rc.is_empty()); - recent_scripts->set_as_minsize(); + recent_scripts->reset_size(); } void ScriptEditor::_open_recent_script(int p_idx) { @@ -1635,7 +1635,7 @@ void ScriptEditor::_notification(int p_what) { filename->add_theme_style_override("normal", EditorNode::get_singleton()->get_gui_base()->get_theme_stylebox(SNAME("normal"), SNAME("LineEdit"))); - recent_scripts->set_as_minsize(); + recent_scripts->reset_size(); if (is_inside_tree()) { _update_script_colors(); |