Skip to content

Commit

Permalink
[win-nix] for bug 54925
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Oct 27, 2023
1 parent 723bc2e commit 30fbb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win-linux/src/components/cfiledialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ QStringList CFileDialogWrapper::modalOpenDocuments(const QString& path, bool mul
QString filter = m_mapFilters[AVS_OFFICESTUDIO_FILE_UNKNOWN];
filter.prepend(tr("Text documents") + " (*.docx *.doc *.odt *.ott *.rtf *.docm *.dotx *.dotm *.fb2 *.fodt *.wps *.wpt *.xml);;");

return modalOpen(path, filter, nullptr, multi);
return modalOpen(path, filter, &filter, multi);
}

QStringList CFileDialogWrapper::modalOpenSpreadsheets(const QString& path, bool multi)
Expand Down

0 comments on commit 30fbb50

Please sign in to comment.