in src/main/kotlin/com/jetbrains/interactiveRebase/services/ActionService.kt [167:173]
fun checkStopToEdit(e: AnActionEvent) {
e.presentation.isEnabled = modelService.branchInfo.selectedCommits.isNotEmpty() &&
!modelService.areDisabledCommitsSelected() && checkRebaseIsNotInProgress() &&
modelService.getSelectedCommits().none { commit ->
commit.getChangesAfterPick().any { change -> change is DropCommand }
}
}