Author: scabanovich
Date: 2008-03-13 08:35:18 -0400 (Thu, 13 Mar 2008)
New Revision: 6905
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/FileAnyImpl.java
Log:
JBIDE-1903
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/FileAnyImpl.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/FileAnyImpl.java 2008-03-12
18:01:33 UTC (rev 6904)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/FileAnyImpl.java 2008-03-13
12:35:18 UTC (rev 6905)
@@ -249,6 +249,8 @@
private void saveUnopen0() {
if(!isActive()) return;
+ //Be careful!
+ if(!isModified()) return;
SpecialWizard w =
SpecialWizardFactory.createSpecialWizard("org.jboss.tools.common.model.ui.objecteditor.SaveUnopenSpecialWizard");
if(w == null) return;
w.setObject(this);