summaryrefslogtreecommitdiff
path: root/editor/rename_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/rename_dialog.h')
-rw-r--r--editor/rename_dialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/rename_dialog.h b/editor/rename_dialog.h
index d05e80fc04..f3a850045e 100644
--- a/editor/rename_dialog.h
+++ b/editor/rename_dialog.h
@@ -64,7 +64,7 @@ class RenameDialog : public ConfirmationDialog {
SceneTreeEditor *scene_tree_editor = nullptr;
UndoRedo *undo_redo = nullptr;
- int global_count;
+ int global_count = 0;
LineEdit *lne_search = nullptr;
LineEdit *lne_replace = nullptr;
@@ -97,9 +97,9 @@ class RenameDialog : public ConfirmationDialog {
List<Pair<NodePath, String>> to_rename;
Node *preview_node = nullptr;
- bool lock_preview_update;
+ bool lock_preview_update = false;
ErrorHandlerList eh;
- bool has_errors;
+ bool has_errors = false;
protected:
static void _bind_methods();