Minor: don't crash when action event doesn't contain project CreateIncrementalCompilationBackup
#EA-68453 Fixed
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ public class CreateIncrementalCompilationBackup: AnAction("Create backup for deb
|
||||
}
|
||||
|
||||
override fun update(e: AnActionEvent) {
|
||||
e.getPresentation().setVisible(incrementalCompilationEnabled(e.getProject()!!))
|
||||
e.presentation.isVisible = e.project?.let { incrementalCompilationEnabled(it) } ?: false
|
||||
}
|
||||
|
||||
override fun actionPerformed(e: AnActionEvent) {
|
||||
|
||||
Reference in New Issue
Block a user