mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Fix IJPL-163481: restore What's New functionality
#IJPL-163481 Fixed GitOrigin-RevId: 96f1410fcffd57b1094e578fc2e2f179b385634f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ae227d128d
commit
9454e64fbc
@@ -41,9 +41,9 @@ internal class WhatsNewShowOnStartCheckService : ProjectActivity {
|
|||||||
if (content != null) {
|
if (content != null) {
|
||||||
if (WhatsNewContentVersionChecker.isNeedToShowContent(content).also { logger.info("Should show What's New: $it") }) {
|
if (WhatsNewContentVersionChecker.isNeedToShowContent(content).also { logger.info("Should show What's New: $it") }) {
|
||||||
val whatsNewAction = service<ActionManager>().getAction("WhatsNewAction") as? WhatsNewAction
|
val whatsNewAction = service<ActionManager>().getAction("WhatsNewAction") as? WhatsNewAction
|
||||||
if (whatsNewAction == null) {
|
if (whatsNewAction != null) {
|
||||||
val activityTracker = ProjectInitializationDiagnosticService.registerTracker(project, "OpenWhatsNewOnStart");
|
val activityTracker = ProjectInitializationDiagnosticService.registerTracker(project, "OpenWhatsNewOnStart");
|
||||||
whatsNewAction?.openWhatsNew(project)
|
whatsNewAction.openWhatsNew(project)
|
||||||
activityTracker.activityFinished()
|
activityTracker.activityFinished()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user