summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-03-26 14:10:41 +0100
committerkobewi <kobewi4e@gmail.com>2021-03-26 14:10:41 +0100
commit76240515d8a4def96eb1a409259ce70fa653ae73 (patch)
treeaa2e2648f721690b3256361e52fb63a03bb882c5
parent166a6d0ba2d4055f7621e9aac4e3c095ca1cf9ba (diff)
Save project after opening
-rw-r--r--editor/editor_node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index c48ea18b9e..156cb6694a 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -592,6 +592,9 @@ void EditorNode::_notification(int p_what) {
_editor_select(EDITOR_3D);
}
+ // Save the project after opening to mark it as last modified.
+ ProjectSettings::get_singleton()->save();
+
/* DO NOT LOAD SCENES HERE, WAIT FOR FILE SCANNING AND REIMPORT TO COMPLETE */
} break;