mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
assertion: if selection was not set yet - do not call getSelectedConfigurable (IDEA-60612)
This commit is contained in:
+1
-2
@@ -99,8 +99,7 @@ public class JdkListConfigurable extends BaseStructureConfigurable {
|
||||
@Nullable
|
||||
@NonNls
|
||||
public String getHelpTopic() {
|
||||
final NamedConfigurable selectedConfigurable = getSelectedConfugurable();
|
||||
return selectedConfigurable != null ? selectedConfigurable.getHelpTopic() : "reference.settingsdialog.project.structure.jdk";
|
||||
return myCurrentConfigurable != null ? myCurrentConfigurable.getHelpTopic() : "reference.settingsdialog.project.structure.jdk";
|
||||
}
|
||||
|
||||
@NonNls
|
||||
|
||||
Reference in New Issue
Block a user