Author: echatellier Date: 2012-07-18 10:29:15 +0200 (Wed, 18 Jul 2012) New Revision: 1020 Url: http://forge.codelutin.com/repositories/revision/coser/1020 Log: Fix button enabled Modified: trunk/coser-ui/src/main/java/fr/ifremer/coser/ui/project/ProjectOpenView.jaxx Modified: trunk/coser-ui/src/main/java/fr/ifremer/coser/ui/project/ProjectOpenView.jaxx =================================================================== --- trunk/coser-ui/src/main/java/fr/ifremer/coser/ui/project/ProjectOpenView.jaxx 2012-07-17 16:25:55 UTC (rev 1019) +++ trunk/coser-ui/src/main/java/fr/ifremer/coser/ui/project/ProjectOpenView.jaxx 2012-07-18 08:29:15 UTC (rev 1020) @@ -5,7 +5,7 @@ $Id$ $HeadURL$ %% - Copyright (C) 2010 Ifremer, Codelutin, Chatellier Eric + Copyright (C) 2010 - 2012 Ifremer, Codelutin, Chatellier Eric %% This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -45,7 +45,7 @@ <row> <cell weightx="1" anchor="east" columns="3"> <JButton text="coser.ui.project.openProject" - enabled="{projectsList.getSelectedIndex() > 0}" + enabled="{projectsList.getSelectedIndex() >= 0}" onActionPerformed="getHandler().loadProject(this)" /> </cell> </row>