summaryrefslogtreecommitdiffstats
path: root/editor/editor_run_native.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-13 18:00:18 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-13 18:00:18 +0100
commit3dffe0b967e1fe1b5407bc02e3308748865ee21d (patch)
treecd923cc48249a7a53d3cad987ea25ec6af7cdaf7 /editor/editor_run_native.cpp
parent3c9bf4bc210a8e6a208f30ca59de4d4d7e18c04d (diff)
parentcebefc9f5d26bc5207e6ba399e67a82f76216f13 (diff)
downloadredot-engine-3dffe0b967e1fe1b5407bc02e3308748865ee21d.tar.gz
Merge pull request #63312 from bruvzg/one_click
[Export] Add one-click deploy over SSH for the desktop exports.
Diffstat (limited to 'editor/editor_run_native.cpp')
-rw-r--r--editor/editor_run_native.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_run_native.cpp b/editor/editor_run_native.cpp
index b0eb4c3d55..eab4e08cec 100644
--- a/editor/editor_run_native.cpp
+++ b/editor/editor_run_native.cpp
@@ -154,7 +154,9 @@ Error EditorRunNative::run_native(int p_idx, int p_platform) {
Error err = eep->run(preset, p_idx, flags);
result_dialog_log->clear();
if (eep->fill_log_messages(result_dialog_log, err)) {
- result_dialog->popup_centered_ratio(0.5);
+ if (eep->get_worst_message_type() >= EditorExportPlatform::EXPORT_MESSAGE_ERROR) {
+ result_dialog->popup_centered_ratio(0.5);
+ }
}
return err;
}