Fix null warning in MainForm
This commit is contained in:
parent
006228647d
commit
d0a9bc9055
@ -25,7 +25,7 @@ namespace PDF_Merge
|
||||
}
|
||||
public void SetPathLable()
|
||||
{
|
||||
string sourcePath = ConfigurationManager.AppSettings["PDF-Path"];
|
||||
string sourcePath = ConfigurationManager.AppSettings["PDF-Path"] ?? "";
|
||||
|
||||
if (sourcePath != null)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user