mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Initialize bools in the headers in editor
This commit is contained in:
parent
d7019de7e3
commit
918b09cabc
70 changed files with 175 additions and 389 deletions
|
|
@ -618,8 +618,6 @@ void FindReplaceBar::_bind_methods() {
|
|||
|
||||
FindReplaceBar::FindReplaceBar() {
|
||||
results_count = -1;
|
||||
replace_all_mode = false;
|
||||
preserve_cursor = false;
|
||||
|
||||
vbc_lineedit = memnew(VBoxContainer);
|
||||
add_child(vbc_lineedit);
|
||||
|
|
@ -1887,8 +1885,6 @@ CodeTextEditor::CodeTextEditor() {
|
|||
error_button->set_default_cursor_shape(CURSOR_POINTING_HAND);
|
||||
error_button->connect("pressed", callable_mp(this, &CodeTextEditor::_error_button_pressed));
|
||||
error_button->set_tooltip(TTR("Errors"));
|
||||
|
||||
is_errors_panel_opened = false;
|
||||
set_error_count(0);
|
||||
|
||||
// Warnings
|
||||
|
|
@ -1899,8 +1895,6 @@ CodeTextEditor::CodeTextEditor() {
|
|||
warning_button->set_default_cursor_shape(CURSOR_POINTING_HAND);
|
||||
warning_button->connect("pressed", callable_mp(this, &CodeTextEditor::_warning_button_pressed));
|
||||
warning_button->set_tooltip(TTR("Warnings"));
|
||||
|
||||
is_warnings_panel_opened = false;
|
||||
set_warning_count(0);
|
||||
|
||||
// Line and column
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue