eclipse plugin: save the state if we have what to save

This commit is contained in:
Timotei Dolean 2011-05-27 19:57:45 +00:00
parent 721984bc65
commit 3d1bef90f8

View file

@ -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)