IFT-482 Fix debugger tool window step in onboarding lessons

GitOrigin-RevId: 04f7e1349d67a30b54cf15dd7b271da146d614fe
This commit is contained in:
Konstantin Hudyakov
2023-07-18 14:59:05 +03:00
committed by intellij-monorepo-bot
parent d78e514c5c
commit c1d2faa12e
3 changed files with 17 additions and 3 deletions

View File

@@ -249,6 +249,11 @@ class PythonOnboardingTourLesson :
PythonLessonsBundle.message("python.onboarding.start.debugging", icon(AllIcons.Actions.StartDebugger))
}
lateinit var debuggerGotItTaskId: TaskContext.TaskId
task {
debuggerGotItTaskId = taskId
}
highlightDebugActionsToolbar()
task {
@@ -257,7 +262,7 @@ class PythonOnboardingTourLesson :
PythonLessonsBundle.message("python.onboarding.balloon.about.debug.panel",
strong(UIBundle.message("tool.window.name.debug")),
strong(LessonsBundle.message("debug.workflow.lesson.name"))))
restoreIfModified(sample)
restoreByUi(debuggerGotItTaskId)
}
highlightButtonById("Stop", highlightInside = false, usePulsation = false)