aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorPoommetee Ketson2017-06-21 11:15:39 +0700
committerPoommetee Ketson2017-06-25 08:04:34 +0700
commit14fa4190b3c85abbd1b7ca39c89b0b3a1aa19b59 (patch)
tree1685781204d4129076598b60ca249491ccbba06a /editor/editor_node.h
parenta2e4b80ff5649504ed4bdc4b4c7f39c19ae6db6a (diff)
downloadgodot-14fa4190b3c85abbd1b7ca39c89b0b3a1aa19b59.tar.gz
godot-14fa4190b3c85abbd1b7ca39c89b0b3a1aa19b59.tar.zst
godot-14fa4190b3c85abbd1b7ca39c89b0b3a1aa19b59.zip
EditorNode: add Save/Discard/Cancel dialog
Diffstat (limited to '')
-rw-r--r--editor/editor_node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index 3870edb7c..673e3692a 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -296,6 +296,7 @@ private:
//CallDialog *call_dialog;
ConfirmationDialog *confirmation;
+ ConfirmationDialog *save_confirmation;
ConfirmationDialog *import_confirmation;
ConfirmationDialog *open_recent_confirmation;
ConfirmationDialog *pick_main_scene;
@@ -465,6 +466,7 @@ private:
void _vp_resized();
void _save_scene(String p_file, int idx = -1);
+ void _discard_changes(const String &p_str = String());
void _instance_request(const Vector<String> &p_files);