mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-46351 - IAE: FileTypeManager.associatePattern
This commit is contained in:
@@ -166,7 +166,7 @@ public class FileTypeChooser extends DialogWrapper {
|
||||
chooser.show();
|
||||
if (!chooser.isOK()) return null;
|
||||
final FileType type = chooser.getSelectedType();
|
||||
if (type == FileTypes.UNKNOWN) return null;
|
||||
if (type == FileTypes.UNKNOWN || type == null) return null;
|
||||
|
||||
ApplicationManager.getApplication().runWriteAction(new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user