vcs: non-modal: Move "Amend" checkbox and commit toolbar actions above commit message...
[idea/community.git] / platform / vcs-impl / src / com / intellij / openapi / vcs / actions / ShowCommitOptionsAction.kt
index af99f266ca5779d1f0e4b3d34d502f4bde2ee7f6..ad47cb95c6e048cb660abb54f57481ea66c51117 100644 (file)
@@ -12,7 +12,7 @@ class ShowCommitOptionsAction : AnAction() {
   }
 
   override fun update(e: AnActionEvent) {
   }
 
   override fun update(e: AnActionEvent) {
-    e.presentation.isEnabled = e.getProjectCommitWorkflowHandler()?.isActive == true
+    e.presentation.isEnabledAndVisible = e.getProjectCommitWorkflowHandler()?.isActive == true
   }
 
   override fun actionPerformed(e: AnActionEvent) {
   }
 
   override fun actionPerformed(e: AnActionEvent) {