Specify parent disposable in JavaOutsideModuleDetector Vfs listener

This commit is contained in:
Vladimir Dolzhenko
2019-07-29 15:58:01 +02:00
parent ddb685a8f9
commit 3f9480e1c5
@@ -30,7 +30,7 @@ class JavaOutsideModuleDetector(private val project: Project, notifications: Edi
override fun fileMoved(event: VirtualFileMoveEvent) {
if (event.file.fileType == JavaFileType.INSTANCE) notifications.updateNotifications(event.file)
}
})
}, project)
}
override fun createNotificationPanel(file: VirtualFile, fileEditor: FileEditor): EditorNotificationPanel? {