mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Missing config reference
This commit is contained in:
parent
e2f3aeabf1
commit
27d4814500
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
{
|
||||
if (Uploader == null || string.IsNullOrEmpty(Uploader.UploadURL))
|
||||
{
|
||||
Errors.Add("Please select one of Pomf uploaders from \"Destination settings -> Pomf tab\".");
|
||||
Errors.Add("Please select one of Pomf uploaders from \"Destination settings window -> Pomf tab\".");
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -1070,7 +1070,7 @@ public UploadResult UploadFile(Stream stream, string fileName)
|
|||
fileUploader = new VideoBin();
|
||||
break;
|
||||
case FileDestination.Pomf:
|
||||
fileUploader = new Pomf(Pomf.Uploaders[0]);
|
||||
fileUploader = new Pomf(Program.UploadersConfig.PomfUploader);
|
||||
break;
|
||||
case FileDestination.Dropfile:
|
||||
fileUploader = new Dropfile();
|
||||
|
|
Loading…
Reference in a new issue