From 889ee27c3b43261ba928dfb32fdc6749cf4e29d1 Mon Sep 17 00:00:00 2001 From: "Bogdan.Kirilenko" Date: Thu, 11 Jul 2024 17:02:28 +0200 Subject: [PATCH] [PyCharm] PY-73541 tags are shown for non-code cells GitOrigin-RevId: 6e2ed3af27ca9eec38c1e5bc694b441c70aa9ac8 --- .../ui/visualization/NotebookBelowCellDelimiterPanel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/notebook-ui/src/org/jetbrains/plugins/notebooks/ui/visualization/NotebookBelowCellDelimiterPanel.kt b/notebooks/notebook-ui/src/org/jetbrains/plugins/notebooks/ui/visualization/NotebookBelowCellDelimiterPanel.kt index 4addc1400ed6..3ddb70a3263a 100644 --- a/notebooks/notebook-ui/src/org/jetbrains/plugins/notebooks/ui/visualization/NotebookBelowCellDelimiterPanel.kt +++ b/notebooks/notebook-ui/src/org/jetbrains/plugins/notebooks/ui/visualization/NotebookBelowCellDelimiterPanel.kt @@ -39,7 +39,7 @@ class NotebookBelowCellDelimiterPanel( updateBackgroundColor() border = BorderFactory.createEmptyBorder(delimiterHeight, 0, delimiterHeight, 0) - val addingTagsRow = (cellTags.isNotEmpty() && isExecutable && Registry.`is`("jupyter.cell.metadata.tags", false)) + val addingTagsRow = (cellTags.isNotEmpty() && Registry.`is`("jupyter.cell.metadata.tags", false)) if (addingTagsRow) add(createTagsRow(), BorderLayout.EAST) // PY-72712 }