Make CommandAdapter.beforeCommandFinished override compatible with 183 platform
This commit is contained in:
@@ -726,7 +726,7 @@ internal abstract class CompositeRefactoringRunner(
|
||||
fun invokeOnceOnCommandFinish(action: () -> Unit) {
|
||||
val commandProcessor = CommandProcessor.getInstance()
|
||||
val listener = object : CommandAdapter() {
|
||||
override fun beforeCommandFinished(event: CommandEvent?) {
|
||||
override fun beforeCommandFinished(event: CommandEvent) {
|
||||
action()
|
||||
commandProcessor.removeCommandListener(this)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user