Sfoglia il codice sorgente

Added default layout name for dxfsettings

Kenric Nugteren 8 mesi fa
parent
commit
4ee7512e2d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      inabox.dxf/DxfUtils.cs

+ 1 - 1
inabox.dxf/DxfUtils.cs

@@ -24,7 +24,7 @@ public class DxfImportSettings
     {
         ImageSize = imageSize ?? new(2048, 2048);
         SupportFolders = supportFolders;
-        LayoutName = layoutName;
+        LayoutName = layoutName ?? "Model";
     }
 }