Fix copying filename raising an exception
#KT-4990 Fixed
This commit is contained in:
@@ -74,7 +74,7 @@ public class KotlinCopyPasteReferenceProcessor() : CopyPastePostProcessor<Refere
|
|||||||
try {
|
try {
|
||||||
val flavor = ReferenceData.getDataFlavor()
|
val flavor = ReferenceData.getDataFlavor()
|
||||||
if (flavor != null) {
|
if (flavor != null) {
|
||||||
referenceData = content.getTransferData(flavor) as ReferenceTransferableData
|
referenceData = content.getTransferData(flavor) as? ReferenceTransferableData
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (ignored: UnsupportedFlavorException) {
|
catch (ignored: UnsupportedFlavorException) {
|
||||||
|
|||||||
Reference in New Issue
Block a user