Skip to content

Commit

Permalink
Fixed bug in checking file format
Browse files Browse the repository at this point in the history
  • Loading branch information
zenden2k committed Oct 7, 2024
1 parent e1c2d70 commit c9ac4a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Data/servers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
<Format MimeType="image/jpeg">*.jpg,*.jpeg</Format>
<Format MimeType="image/png">*.png</Format>
<Format MimeType="image/gif">*.gif</Format>
<Format MimeType="image/webp">*.webp</Format>
<Format MimeType="image/tiff">*.tiff</Format>
</FormatGroup>
<FormatGroup MaxFileSize="209715200">
Expand Down
2 changes: 1 addition & 1 deletion Source/Gui/Dialogs/WizardDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2500,7 +2500,7 @@ bool CWizardDlg::checkFileFormats(const ServerProfileGroup& imageServer, const S
{
auto* mainDlg = getPage<CMainDlg>(CWizardDlg::wpMainPage);

auto task = std::make_shared<FileTypeCheckTask>(&mainDlg->FileList, sessionImageServer_, sessionFileServer_);
auto task = std::make_shared<FileTypeCheckTask>(&mainDlg->FileList, imageServer, fileServer);
std::string message;
std::vector<BadFileFormat> errors;

Expand Down

0 comments on commit c9ac4a2

Please sign in to comment.