Specify parent disposable in JavaOutsideModuleDetector Vfs listener
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ class JavaOutsideModuleDetector(private val project: Project, notifications: Edi
|
|||||||
override fun fileMoved(event: VirtualFileMoveEvent) {
|
override fun fileMoved(event: VirtualFileMoveEvent) {
|
||||||
if (event.file.fileType == JavaFileType.INSTANCE) notifications.updateNotifications(event.file)
|
if (event.file.fileType == JavaFileType.INSTANCE) notifications.updateNotifications(event.file)
|
||||||
}
|
}
|
||||||
})
|
}, project)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun createNotificationPanel(file: VirtualFile, fileEditor: FileEditor): EditorNotificationPanel? {
|
override fun createNotificationPanel(file: VirtualFile, fileEditor: FileEditor): EditorNotificationPanel? {
|
||||||
|
|||||||
Reference in New Issue
Block a user