MailWindow: Return cleanly if WinziPrint fails 2

This commit is contained in:
2024-03-09 21:23:58 +01:00
parent c70772b47d
commit 6a5507060a

View File

@ -557,6 +557,8 @@ namespace Elwig.Windows {
PrintDocument = print;
} catch (Exception exc) {
MessageBox.Show(exc.Message, "Fehler", MessageBoxButton.OK, MessageBoxImage.Error);
GenerateButton.IsEnabled = true;
Mouse.OverrideCursor = null;
return;
}
}