Author: timotei
Date: Fri May 27 21:57:45 2011
New Revision: 49663

URL: http://svn.gna.org/viewcvs/wesnoth?rev=49663&view=rev
Log:
eclipse plugin: save the state if we have what to save

Modified:
    
trunk/utils/java/org.wesnoth/src/org/wesnoth/navigator/WesnothProjectsExplorer.java

Modified: 
trunk/utils/java/org.wesnoth/src/org/wesnoth/navigator/WesnothProjectsExplorer.java
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/java/org.wesnoth/src/org/wesnoth/navigator/WesnothProjectsExplorer.java?rev=49663&r1=49662&r2=49663&view=diff
==============================================================================
--- 
trunk/utils/java/org.wesnoth/src/org/wesnoth/navigator/WesnothProjectsExplorer.java
 (original)
+++ 
trunk/utils/java/org.wesnoth/src/org/wesnoth/navigator/WesnothProjectsExplorer.java
 Fri May 27 21:57:45 2011
@@ -47,7 +47,8 @@
        @Override
        public void saveState(IMemento aMemento)
        {
-           //super.saveState(aMemento);
+           if (getCommonViewer() != null)
+               super.saveState(aMemento);
        }
 
        public IAdaptable createElement(IMemento memento)


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to