OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 94 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 94 Rev 180
Line 21... Line 21...
21
    @Override
21
    @Override
22
    public void setSelected(ButtonModel model, boolean selected) {
22
    public void setSelected(ButtonModel model, boolean selected) {
23
        if (selected) {
23
        if (selected) {
24
            super.setSelected(model, selected);
24
            super.setSelected(model, selected);
25
        } else {
25
        } else {
-
 
26
            if (model.isSelected()) {
26
            clearSelection();
27
                clearSelection();
-
 
28
            }
27
        }
29
        }
28
    }
30
    }
29
}
31
}