GradleBuildRootsManager: fix for autoload

This commit is contained in:
Sergey Rostov
2020-06-11 14:56:59 +03:00
parent de7d82e42b
commit 632e88459e
@@ -82,9 +82,9 @@ class GradleBuildRootsManager(val project: Project) : GradleBuildRootsLocator(),
@Suppress("MemberVisibilityCanBePrivate") // used in GradleImportHelper.kt.193
fun checkUpToDate(file: VirtualFile) {
if (isConfigurationOutOfDate(file)) {
showNotificationForProjectImport(project)
scriptConfigurationsNeedToBeUpdated(project)
} else {
hideNotificationForProjectImport(project)
scriptConfigurationsAreUpToDate(project)
}
}