- (Add) Debug sub menu to test some behaviours (Only when compiled in debug mode, not visible on public release)
- (Add) Utility method `LayerExists` to the file formats to know if specific layer index exists in the collection
- (Improvement) Add loaded file information to the crash dialog message
- (Fix) Message dialog height do not expand with text (#537)
- (Fix) Crash when all layers get removed and UI attempt to show a layer (#538)
This commit is contained in:
Tiago Conceição
2022-08-21 23:39:20 +01:00
parent 50fcb39638
commit e550fdc266
27 changed files with 278 additions and 311 deletions
+6 -1
View File
@@ -86,7 +86,12 @@ public static class Program
{
try
{
SystemAware.StartThisApplication($"--crash-report \"{category}\" \"{ex}\"");
string? file = null;
if (App.SlicerFile is not null)
{
file = $"{App.SlicerFile.Filename} [Version: {App.SlicerFile.Version}] [Class: {App.SlicerFile.GetType().Name}]";
}
SystemAware.StartThisApplication($"--crash-report \"{category}\" \"{ex}\" \"{file}\"");
//var errorMsg = $"An application error occurred. Please contact the administrator with the following information:\n\n{ex}";
//await App.MainWindow.MessageBoxError(errorMsg, "Fatal Non-UI Error");
}