mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
[IFT] Fix unexpected restores in the navigation lessons
File is opened asynchronously, but restore check is executed after any event. There is no way except of adding the delay for restore. Fixed IFT-475, IFT-476 and IFT-477. GitOrigin-RevId: 4090bb9db067135a791a0a72c2f434060bc108eb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1da9589080
commit
f965a02e7b
@@ -37,7 +37,7 @@ class JavaInheritanceHierarchyLesson
|
||||
(virtualFile.name == "DerivedClass1.java" || virtualFile.name == "DerivedClass2.java") && atDeclarationPosition()
|
||||
}
|
||||
|
||||
restoreAfterStateBecomeFalse {
|
||||
restoreState(delayMillis = defaultRestoreDelay) {
|
||||
focusOwner is EditorComponentImpl
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user