mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
[Python Onboarding] There is no need to require a module to open the interpreter settings
Also, silently returning from the function will leave the link non-working, what is confusing for the user (cherry picked from commit 7b0384c5810ab38268420f172c7e3ddbef0d7b15) IJ-CR-151630 GitOrigin-RevId: 15bdac04edde15e1b181e18d9006485c141b6308
This commit is contained in:
committed by
intellij-monorepo-bot
parent
845d1ddf90
commit
2ab18edac8
@@ -179,7 +179,7 @@ abstract class PythonBasedLangSupport : AbstractLangSupport() {
|
||||
isSdkConfigured(project)
|
||||
}
|
||||
val configureCallbackId = LearningUiManager.addCallback {
|
||||
val module = project.modules.singleOrNull() ?: return@addCallback
|
||||
val module = project.modules.singleOrNull()
|
||||
PyInterpreterInspection.InterpreterSettingsQuickFix.showPythonInterpreterSettings(project, module)
|
||||
}
|
||||
if (useUserProjects || isLearningProject(project, primaryLanguage)) {
|
||||
|
||||
Reference in New Issue
Block a user