fix compile error
This commit is contained in:
@@ -56,7 +56,7 @@ inline fun DefaultButtonModel.addActionListener(fn: (ActionEvent) -> Unit): Unit
|
|||||||
addActionListener(actionListener(fn))
|
addActionListener(actionListener(fn))
|
||||||
}
|
}
|
||||||
|
|
||||||
inline fun JComboBox.addActionListener(fn: (ActionEvent) -> Unit): Unit {
|
inline fun JComboBox<*>.addActionListener(fn: (ActionEvent) -> Unit): Unit {
|
||||||
addActionListener(actionListener(fn))
|
addActionListener(actionListener(fn))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user