From 03e0b6217eb966979700243e7a580bf3b9ca458d Mon Sep 17 00:00:00 2001 From: Bogdan Kirilenko Date: Tue, 21 Jan 2025 13:43:35 +0100 Subject: [PATCH] [PyCharm] PY-65433 Jupyter cell DnD MVP enabled in master GitOrigin-RevId: d4ca83421637f3c6cbd943d455fa32246a8eb4b9 --- .../ui/visualization/NotebookBelowCellDelimiterPanel.kt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/notebooks/notebook-ui/src/com/intellij/notebooks/ui/visualization/NotebookBelowCellDelimiterPanel.kt b/notebooks/notebook-ui/src/com/intellij/notebooks/ui/visualization/NotebookBelowCellDelimiterPanel.kt index 557f0c55a0dab..19af81fc68064 100644 --- a/notebooks/notebook-ui/src/com/intellij/notebooks/ui/visualization/NotebookBelowCellDelimiterPanel.kt +++ b/notebooks/notebook-ui/src/com/intellij/notebooks/ui/visualization/NotebookBelowCellDelimiterPanel.kt @@ -135,9 +135,12 @@ class NotebookBelowCellDelimiterPanel( toolTipText = tooltipText } } - else { - executionLabel?.let { remove(it) } - executionLabel = null + else { // temporary measure to fit the drag icon, see PY-65433 + getOrCreateExecutionLabel().apply { + text = "" + icon = AllIcons.Empty + toolTipText = null + } } }