Introduce Type Alias: Fix NPE during dialog repaint
#KT-14696 Fixed
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
###### Issues fixed
|
||||
- [`KT-14693`](https://youtrack.jetbrains.com/issue/KT-14693) Introduce Type Alias: Do not suggest type qualifiers
|
||||
- [`KT-14696`](https://youtrack.jetbrains.com/issue/KT-14696) Introduce Type Alias: Fix NPE during dialog repaint
|
||||
|
||||
## 1.1-M03 (EAP-3)
|
||||
|
||||
|
||||
+1
-1
@@ -137,7 +137,7 @@ public class KotlinIntroduceTypeAliasDialog extends DialogWrapper {
|
||||
boolean isSelected,
|
||||
boolean cellHasFocus
|
||||
) {
|
||||
String tokenValue = ((KtModifierKeywordToken) value).getValue();
|
||||
String tokenValue = value != null ? ((KtModifierKeywordToken) value).getValue() : null;
|
||||
return super.getListCellRendererComponent(list, tokenValue, index, isSelected, cellHasFocus);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user