mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui] CCE in plugin configurable (default project ain't got no store)
GitOrigin-RevId: e3f1476125a7028faf7a8a6aece762df974bf840
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9019f36cc6
commit
1751d860da
@@ -63,10 +63,10 @@ internal class ProjectPluginTrackerManager : SimplePersistentStateComponent<Proj
|
||||
}
|
||||
|
||||
private fun createPluginTrackerImpl(project: Project): ProjectPluginTracker {
|
||||
val key = project.stateStore.projectWorkspaceId ?: project.name
|
||||
val key = if (project.isDefault) project.name else project.stateStore.projectWorkspaceId ?: project.name
|
||||
return ProjectPluginTracker(
|
||||
project,
|
||||
state.trackers.getOrPut(key) { ProjectPluginTrackerState() }
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user