eclipse plugin: save the state if we have what to save
This commit is contained in:
parent
721984bc65
commit
3d1bef90f8
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ public class WesnothProjectsExplorer extends CommonNavigator implements IAdaptab
|
|||
@Override
|
||||
public void saveState(IMemento aMemento)
|
||||
{
|
||||
//super.saveState(aMemento);
|
||||
if (getCommonViewer() != null)
|
||||
super.saveState(aMemento);
|
||||
}
|
||||
|
||||
public IAdaptable createElement(IMemento memento)
|
||||
|
|
Loading…
Add table
Reference in a new issue