This commit is contained in:
Reinhard Pointner 2015-01-14 21:32:00 +00:00
parent 82a14c55c6
commit 69bf967daa
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ public class UserFiles {
persistence.flush(); persistence.flush();
// call native NSOpenPanel openPanel via Objective-C bridge // call native NSOpenPanel openPanel via Objective-C bridge
return MacAppUtilities.NSOpenPanel_openPanel_runModal(title, true, true, true, filter.acceptAny() ? filter.extensions() : null); return MacAppUtilities.NSOpenPanel_openPanel_runModal(title, true, true, true, filter.acceptAny() ? null : filter.extensions());
} catch (Throwable e) { } catch (Throwable e) {
Logger.getLogger(UserFiles.class.getName()).log(Level.WARNING, e.toString()); Logger.getLogger(UserFiles.class.getName()).log(Level.WARNING, e.toString());
} finally { } finally {