mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE fix for TraverseUITest
This commit is contained in:
@@ -130,7 +130,7 @@ public class SchemesPanel extends AbstractSchemesPanel<EditorColorsScheme> imple
|
||||
@Nullable
|
||||
@Override
|
||||
protected EditorColorsScheme getCurrentScheme() {
|
||||
return myOptions.getScheme(getSelectedSchemeName());
|
||||
return myOptions != null ? myOptions.getScheme(getSelectedSchemeName()) : null;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user