fix pickFile on macos

This commit is contained in:
altalk23 2023-04-26 12:29:43 +03:00
parent 2e9a3b213b
commit 8842e8f793

View file

@ -77,7 +77,7 @@ void utils::web::openLinkInBrowser(std::string const& url) {
NSOpenPanel* panel = [NSOpenPanel openPanel];
// allowed files
NSMutableArray* allowed;
NSMutableArray* allowed = [NSMutableArray array];
for (auto& f : options.filters) {
for (auto& i : f.files) {