fun checkDrop()

in src/main/kotlin/com/jetbrains/interactiveRebase/services/ActionService.kt [139:145]


    fun checkDrop(e: AnActionEvent) {
        e.presentation.isEnabled = modelService.branchInfo.selectedCommits.isNotEmpty() &&
            !modelService.areDisabledCommitsSelected() && checkRebaseIsNotInProgress() &&
            modelService.getSelectedCommits().none { commit ->
                commit.getChangesAfterPick().any { change -> change is DropCommand }
            }
    }