mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJOB-574 Fix stuck in Git Project History lesson
The `toString` method result of the node was changed in the implementation. GitOrigin-RevId: add04d32d06998a9a357e305340a7507c3d9dceb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2f23b7e95e
commit
70a339f11e
@@ -78,7 +78,7 @@ class GitProjectHistoryLesson : GitLesson("Git.ProjectHistory", GitLessonsBundle
|
||||
task {
|
||||
var selectionCleared = false
|
||||
triggerAndBorderHighlight().treeItem { tree, path ->
|
||||
(path.pathCount > 1 && path.getPathComponent(1).toString() == "HEAD_NODE").also {
|
||||
(path.pathCount > 1 && path.getPathComponent(1).toString() == "HEAD").also {
|
||||
if (!selectionCleared) {
|
||||
tree.clearSelection()
|
||||
selectionCleared = true
|
||||
|
||||
Reference in New Issue
Block a user