From 962d17f9b268e890ee5bac4dda575665ef3aa2f7 Mon Sep 17 00:00:00 2001 From: "Ilia.Shulgin" Date: Fri, 26 Sep 2025 09:24:27 +0200 Subject: [PATCH] [vcs] IJPL-173924 Set checkboxes initial state in CommitChangesViewWithToolbarPanel.kt GitOrigin-RevId: 0d556d751956931e3d743dcb3ce27eb443652a06 --- .../openapi/vcs/changes/CommitChangesViewWithToolbarPanel.kt | 1 + .../src/com/intellij/vcs/commit/ChangesViewCommitPanel.kt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/CommitChangesViewWithToolbarPanel.kt b/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/CommitChangesViewWithToolbarPanel.kt index 772547d6a5fa..a470eae3b73d 100644 --- a/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/CommitChangesViewWithToolbarPanel.kt +++ b/platform/vcs-impl/shared/src/com/intellij/openapi/vcs/changes/CommitChangesViewWithToolbarPanel.kt @@ -84,6 +84,7 @@ class CommitChangesViewWithToolbarPanel( } } + changesView.isShowCheckboxes = true changesView.installPopupHandler( ActionManager.getInstance().getAction("ChangesViewPopupMenuShared") as ActionGroup ) diff --git a/platform/vcs-impl/src/com/intellij/vcs/commit/ChangesViewCommitPanel.kt b/platform/vcs-impl/src/com/intellij/vcs/commit/ChangesViewCommitPanel.kt index 71a8ec7eaac5..e6dc86fdb719 100644 --- a/platform/vcs-impl/src/com/intellij/vcs/commit/ChangesViewCommitPanel.kt +++ b/platform/vcs-impl/src/com/intellij/vcs/commit/ChangesViewCommitPanel.kt @@ -46,7 +46,6 @@ class ChangesViewCommitPanel internal constructor( changesView.viewModel.setInclusionListener { WriteIntentReadAction.run { fireInclusionChanged() } } - changesView.viewModel.setShowCheckboxes(true) commitActionsPanel.isCommitButtonDefault = { !progressPanel.isDumbMode && UIUtil.isFocusAncestor(rootComponent ?: component)