summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/editor/editor_node.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index b270d8b8cc..b39a1b5350 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -328,12 +328,14 @@ void EditorNode::_notification(int p_what) {
}
*/
+ /* // moved to "_sources_changed"
if (export_defer.platform!="") {
project_export_settings->export_platform(export_defer.platform,export_defer.path,export_defer.debug,export_defer.password,true);
export_defer.platform="";
}
+ */
}
if (p_what == MainLoop::NOTIFICATION_WM_FOCUS_IN) {
@@ -391,6 +393,13 @@ void EditorNode::_fs_changed() {
E->get()->invalidate();
}
+
+ if (export_defer.platform!="") {
+
+ project_export_settings->export_platform(export_defer.platform,export_defer.path,export_defer.debug,export_defer.password,true);
+ export_defer.platform="";
+ }
+
}
void EditorNode::_sources_changed(bool p_exist) {
@@ -406,6 +415,7 @@ void EditorNode::_sources_changed(bool p_exist) {
sources_button->set_disabled(true);
}
+
}
void EditorNode::_vp_resized() {