summaryrefslogtreecommitdiff
path: root/editor/rename_dialog.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-15 20:09:32 +0200
committerGitHub <noreply@github.com>2021-09-15 20:09:32 +0200
commitf61edebd923c432f4311a5889996c8d0f437bc26 (patch)
tree173be68d293edbef90499839e99c54d7709d96d2 /editor/rename_dialog.h
parent520462e98c15ef583f24ea39fb874a388d377b1c (diff)
parent4fc639916c096ebe9bf52907c35c9e4bc8ef36b9 (diff)
Merge pull request #52272 from aaronfranke/regex
Diffstat (limited to 'editor/rename_dialog.h')
-rw-r--r--editor/rename_dialog.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/editor/rename_dialog.h b/editor/rename_dialog.h
index 76e99e3b66..7990862b37 100644
--- a/editor/rename_dialog.h
+++ b/editor/rename_dialog.h
@@ -31,6 +31,9 @@
#ifndef RENAME_DIALOG_H
#define RENAME_DIALOG_H
+#include "modules/modules_enabled.gen.h"
+#ifdef MODULE_REGEX_ENABLED
+
#include "scene/gui/check_box.h"
#include "scene/gui/dialogs.h"
#include "scene/gui/option_button.h"
@@ -113,4 +116,6 @@ public:
~RenameDialog() {}
};
-#endif
+#endif // MODULE_REGEX_ENABLED
+
+#endif // RENAME_DIALOG_H