Skip to content

Commit

Permalink
Merge pull request #96 from patrickmollohan/qol/streamline-first-export
Browse files Browse the repository at this point in the history
Replace error window on first export
  • Loading branch information
binary1230 authored Dec 14, 2023
2 parents 1d0f511 + b2437a3 commit 449d284
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,7 @@ public bool ExportAssemblyWithCurrentSettings()
if (WriteAssemblyOutputIfSettingsValid())
return true;

var errMsg = "Can't export assembly because the project export settings are invalid.\nPlease edit your export settings first. Errors were:";

errMsg += $"\n{Project.LogWriterSettings.Validate(fs)}";
commonGui.ShowError(errMsg);
return false;
return ConfirmSettingsThenExportAssembly();
}

public LogWriterSettings? ShowSettingsEditorUntilValid()
Expand Down

0 comments on commit 449d284

Please sign in to comment.