Author: kmorin Date: 2013-02-22 19:24:33 +0100 (Fri, 22 Feb 2013) New Revision: 458 Url: http://forge.codelutin.com/projects/tutti/repository/revisions/458 Log: fixes #2032 [PROTOCOLE] - Suppression - Obliger de cliquer 2 fois pour valider Modified: trunk/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/home/SelectCruiseUIHandler.java Modified: trunk/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/home/SelectCruiseUIHandler.java =================================================================== --- trunk/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/home/SelectCruiseUIHandler.java 2013-02-22 18:20:15 UTC (rev 457) +++ trunk/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/home/SelectCruiseUIHandler.java 2013-02-22 18:24:33 UTC (rev 458) @@ -262,6 +262,7 @@ // opens a popup, the user must click a first time to hide the combobox // popup to then interact with the popup opened by the action // (see http://forge.codelutin.com/issues/2032) + newProtocolCombo.setSelectedIndex(0); newProtocolCombo.hidePopup(); selectedAction.actionPerformed(event); } @@ -274,6 +275,7 @@ // opens a popup, the user must click a first time to hide the combobox // popup to then interact with the popup opened by the action // (see http://forge.codelutin.com/issues/2032) + newProtocolCombo.setSelectedIndex(0); newProtocolCombo.hidePopup(); selectedAction.actionPerformed(event); }