This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository lima. See http://git.chorem.org/lima.git commit 636a5ba8c0db0f3bc3fd6675c69b6abc108541cd Author: dcosse <cosse@codelutin.com> Date: Mon Jun 29 14:49:57 2015 +0200 refs #1242 verifivation que l'on filtre bien sur un compte --- .../lima/ui/Filter/AccountCondition/AccountConditionHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lima-swing/src/main/java/org/chorem/lima/ui/Filter/AccountCondition/AccountConditionHandler.java b/lima-swing/src/main/java/org/chorem/lima/ui/Filter/AccountCondition/AccountConditionHandler.java index 4138fdc..e5ba896 100644 --- a/lima-swing/src/main/java/org/chorem/lima/ui/Filter/AccountCondition/AccountConditionHandler.java +++ b/lima-swing/src/main/java/org/chorem/lima/ui/Filter/AccountCondition/AccountConditionHandler.java @@ -80,7 +80,8 @@ public class AccountConditionHandler implements ConditionHandler { public void accountComboBoxChange(PropertyChangeEvent event) { if (event.getPropertyName().equals(AccountComboBox.PROPERTY_SELECTED_ITEM)) { - setAccount((Account) event.getNewValue()); + Account account = event.getNewValue() == null ? null : event.getNewValue() instanceof Account ? (Account) event.getNewValue() : null; + setAccount(account); } } } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.