aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_node.cpp
diff options
context:
space:
mode:
authorJohan Manuel2016-07-25 15:31:57 +0200
committerJohan Manuel2016-07-25 16:46:26 +0200
commita2b8ef6d5108f1822f323e23e8546878e3ec8fe3 (patch)
tree2e3d50b30680772cdc792c6db535bad66f18085c /tools/editor/editor_node.cpp
parent85f365bbffc0735a82d29ddce4e7991814ae1a5b (diff)
downloadgodot-a2b8ef6d5108f1822f323e23e8546878e3ec8fe3.tar.gz
godot-a2b8ef6d5108f1822f323e23e8546878e3ec8fe3.tar.zst
godot-a2b8ef6d5108f1822f323e23e8546878e3ec8fe3.zip
Fix some warnings
Diffstat (limited to '')
-rw-r--r--tools/editor/editor_node.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index 30b89cacc..2839708f8 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -1213,7 +1213,7 @@ void EditorNode::_dialog_action(String p_file) {
case FILE_SAVE_SCENE:
case FILE_SAVE_AS_SCENE: {
- if (file->get_mode()==FileDialog::MODE_SAVE_FILE) {
+ if (file->get_mode()==EditorFileDialog::MODE_SAVE_FILE) {
//_save_scene(p_file);
_save_scene_with_preview(p_file);
@@ -1223,7 +1223,7 @@ void EditorNode::_dialog_action(String p_file) {
} break;
case FILE_SAVE_AND_RUN: {
- if (file->get_mode()==FileDialog::MODE_SAVE_FILE) {
+ if (file->get_mode()==EditorFileDialog::MODE_SAVE_FILE) {
//_save_scene(p_file);
_save_scene_with_preview(p_file);
@@ -1448,7 +1448,7 @@ void EditorNode::_dialog_action(String p_file) {
} break;
default: { //save scene?
- if (file->get_mode()==FileDialog::MODE_SAVE_FILE) {
+ if (file->get_mode()==EditorFileDialog::MODE_SAVE_FILE) {
//_save_scene(p_file);
_save_scene_with_preview(p_file);