KT-31295: fix issue with NewKotlinScriptAction incorrect identity

- this problem leads to the duplication of the `New Kotlin Script` action in the drop-down menu
- ^KT-31295 Fixed
This commit is contained in:
Roman Golyshev
2019-08-13 12:31:51 +03:00
committed by Roman Golyshev
parent 986654b709
commit 1a0edd37ef
@@ -58,5 +58,5 @@ open class NewKotlinScriptAction(
override fun hashCode(): Int = 0
override fun equals(other: Any?): Boolean = this::class.isInstance(other)
override fun equals(other: Any?): Boolean = this::class == other?.let { it::class }
}