diff options
Diffstat (limited to 'editor/export/project_export.cpp')
-rw-r--r-- | editor/export/project_export.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp index 61f875713f..f723a20368 100644 --- a/editor/export/project_export.cpp +++ b/editor/export/project_export.cpp @@ -65,7 +65,6 @@ void ProjectExportTextureFormatError::_bind_methods() { void ProjectExportTextureFormatError::_notification(int p_what) { switch (p_what) { - case NOTIFICATION_ENTER_TREE: case NOTIFICATION_THEME_CHANGED: { texture_format_error_label->add_theme_color_override("font_color", get_theme_color(SNAME("error_color"), SNAME("Editor"))); } break; @@ -1071,7 +1070,7 @@ void ProjectExportDialog::_export_project_to_path(const String &p_path) { current->set_export_path(p_path); platform->clear_messages(); - Error err = platform->export_project(current, export_debug->is_pressed(), p_path, 0); + Error err = platform->export_project(current, export_debug->is_pressed(), current->get_export_path(), 0); result_dialog_log->clear(); if (err != ERR_SKIP) { if (platform->fill_log_messages(result_dialog_log, err)) { |