[fix?:] will this work?
This commit is contained in:
+5
-5
@@ -785,14 +785,14 @@ public partial class MainWindow : Window
|
|||||||
// hier nach winpafd prüfen
|
// hier nach winpafd prüfen
|
||||||
var filePath = await saveDialog.ShowAsync(this);
|
var filePath = await saveDialog.ShowAsync(this);
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(filePath))
|
if (!string.IsNullOrWhiteSpace(filePath))
|
||||||
{
|
{
|
||||||
if (Uri.TryCreate(filePath, UriKind.Absolute, out var uri)
|
if (filePath.StartsWith("file://"))
|
||||||
&& uri.IsFile)
|
|
||||||
{
|
{
|
||||||
filePath = uri.LocalPath;
|
filePath = new Uri(filePath).LocalPath;
|
||||||
}
|
}
|
||||||
|
Console.WriteLine(filePath);
|
||||||
|
|
||||||
var builder = new PdfBuilder(Settings._instance.pdfExport);
|
var builder = new PdfBuilder(Settings._instance.pdfExport);
|
||||||
|
|
||||||
builder.CreateAddressLabelPdfFromAddressSetWithPlaceholder(
|
builder.CreateAddressLabelPdfFromAddressSetWithPlaceholder(
|
||||||
|
|||||||
Reference in New Issue
Block a user