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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/rename_dialog.h b/editor/rename_dialog.h
index dfdb1bcd76..76e99e3b66 100644
--- a/editor/rename_dialog.h
+++ b/editor/rename_dialog.h
@@ -5,8 +5,8 @@
/* GODOT ENGINE */
/* https://godotengine.org */
/*************************************************************************/
-/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */
-/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */
+/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */
+/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */
/* */
/* Permission is hereby granted, free of charge, to any person obtaining */
/* a copy of this software and associated documentation files (the */
@@ -36,7 +36,7 @@
#include "scene/gui/option_button.h"
#include "scene/gui/spin_box.h"
-#include "core/undo_redo.h"
+#include "core/object/undo_redo.h"
#include "editor/scene_tree_editor.h"
/**
@@ -46,7 +46,7 @@
class RenameDialog : public ConfirmationDialog {
GDCLASS(RenameDialog, ConfirmationDialog);
- virtual void ok_pressed() { rename(); };
+ virtual void ok_pressed() override { rename(); };
void _cancel_pressed() {}
void _features_toggled(bool pressed);
void _insert_text(String text);
@@ -103,7 +103,7 @@ class RenameDialog : public ConfirmationDialog {
protected:
static void _bind_methods();
- virtual void _post_popup();
+ virtual void _post_popup() override;
public:
void reset();