mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[PyCharm] PY-78574 Jupyter updateSelectionAfterClick fix: change cell selection only if clicked cell != already selected
GitOrigin-RevId: b73215184a8c31feb4631227f761f9ab88c247d3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5bc798d606
commit
2d8b0ca142
+1
-5
@@ -302,11 +302,7 @@ class DecoratedEditor private constructor(
|
||||
}
|
||||
}
|
||||
}
|
||||
else -> {
|
||||
if (mouseButton == MouseEvent.BUTTON1 || !model.isSelectedCell(clickedCell)) {
|
||||
model.selectSingleCell(clickedCell)
|
||||
}
|
||||
}
|
||||
mouseButton == MouseEvent.BUTTON1 && !model.isSelectedCell(clickedCell) -> model.selectSingleCell(clickedCell)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user