summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-06-10 19:10:32 -0300
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-06-13 14:08:04 -0300
commit5bae3693bfcd856507a85fded3c23515e4e633c1 (patch)
treee977576538866d2d018135865677665a5fa43c23 /editor/code_editor.cpp
parentacd9646ede45f8c34f423e392e60bf128c953bd1 (diff)
downloadredot-engine-5bae3693bfcd856507a85fded3c23515e4e633c1.tar.gz
Fix "find and replace" initializing with wrong size
Fix the code editor outside the allowed limits.
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index 665ce7658f..906cc219de 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -95,7 +95,7 @@ void FindReplaceBar::_notification(int p_what) {
set_process_unhandled_input(is_visible_in_tree());
if (is_visible_in_tree()) {
- call_deferred("_update_size");
+ _update_size();
}
} else if (p_what == EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED) {