Fix null warning in MainForm

This commit is contained in:
efrick 2024-08-08 11:37:22 -04:00
parent 006228647d
commit d0a9bc9055

View File

@ -25,7 +25,7 @@ namespace PDF_Merge
} }
public void SetPathLable() public void SetPathLable()
{ {
string sourcePath = ConfigurationManager.AppSettings["PDF-Path"]; string sourcePath = ConfigurationManager.AppSettings["PDF-Path"] ?? "";
if (sourcePath != null) if (sourcePath != null)
{ {