Project

General

Profile

« Previous | Next » 

Revision 15f5a1bd

Added by Patrick Plitzner over 7 years ago

ref #6216 Pre-select color in ColorDialog

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/vocabulary/PresenceAbsenceTermDetailElement.java
92 92
    @Override
93 93
    public void mouseUp(MouseEvent e) {
94 94
        ColorDialog dialog = new ColorDialog(AbstractUtility.getShell());
95
        if(color!=null){
96
            dialog.setRGB(color.getRGB());
97
        }
95 98
        RGB rgb = dialog.open();
96 99
        if(rgb!=null){
97 100
            if(color!=null){

Also available in: Unified diff