We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52f2f43 + 5d46f5c commit aa473deCopy full SHA for aa473de
src/com/magento/idea/magento2plugin/project/startup/CheckIfMagentoPathIsValidActivity.java
@@ -18,7 +18,7 @@ public class CheckIfMagentoPathIsValidActivity implements StartupActivity {
18
public void runActivity(final @NotNull Project project) {
19
final Settings settings = Settings.getInstance(project);
20
final String path = settings.magentoPath;
21
- if (settings.pluginEnabled || path == null || path.isEmpty()) {
+ if (settings.pluginEnabled && (path == null || path.isEmpty())) {
22
if (MagentoBasePathUtil.isMagentoFolderValid(project.getBasePath())) {
23
settings.setMagentoPath(project.getBasePath());
24
return;
0 commit comments