Fix null warning in MainForm
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user