mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
Fix NPE bug 134969. Broke when I converted IProject to ICProjects everywhere. Forgot to check for null when converting back in the indexer page.
This commit is contained in:
parent
6d791ff05d
commit
50a37afbda
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public abstract class AbstractIndexerPage extends AbstractCOptionPage {
|
|||
abstract public void removePreferences();
|
||||
|
||||
public IProject getCurrentProject() {
|
||||
return currentProject.getProject();
|
||||
return currentProject != null ? currentProject.getProject() : null;
|
||||
}
|
||||
|
||||
public void setCurrentProject(ICProject currentProject) {
|
||||
|
|
Loading…
Add table
Reference in a new issue