IDEA-56932: What the heck means "Select Profiles.ini file"

This commit is contained in:
nik
2010-07-30 15:30:49 +04:00
parent 65766c28b8
commit 8736347199
@@ -61,9 +61,8 @@ public class FirefoxUtil {
FirefoxProfile profile = findProfileByNameOrDefault(settings.getProfile(), profiles);
if (profile != null) {
File profileDir = profile.getProfileDirectory(profilesFile);
File dir = new File(profileDir, "extensions");
if (dir.isDirectory()) {
return dir;
if (profileDir.isDirectory()) {
return new File(profileDir, "extensions");
}
}
}