Author: jbonofre Date: Thu Dec 8 20:39:23 2011 New Revision: 1212104 URL: http://svn.apache.org/viewvc?rev=1212104&view=rev Log: Fix the update status check in the software database window
Modified: incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/app/SoftwareDatabaseWindow.java Modified: incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/app/SoftwareDatabaseWindow.java URL: http://svn.apache.org/viewvc/incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/app/SoftwareDatabaseWindow.java?rev=1212104&r1=1212103&r2=1212104&view=diff ============================================================================== --- incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/app/SoftwareDatabaseWindow.java (original) +++ incubator/kalumet/trunk/console/src/main/java/org/apache/kalumet/console/app/SoftwareDatabaseWindow.java Thu Dec 8 20:39:23 2011 @@ -496,7 +496,7 @@ public class SoftwareDatabaseWindow exte return; } // check if some change has not yet been saved - if (!getEnvironmentWindow().isUpdated()) { + if (getEnvironmentWindow().isUpdated()) { KalumetConsoleApplication.getApplication().getLogPane().addWarning(Messages.getString("environment.notsaved"), getEnvironmentWindow().getEnvironmentName()); return; }