Merge pull request #330 from bsinno/fix_type_tag_colorchange_detail
fix add and update tags and type color change details
This commit is contained in:
@@ -253,16 +253,16 @@ public abstract class AbstractCreateUpdateTagLayout<E extends NamedEntity> exten
|
||||
private void previewButtonClicked() {
|
||||
if (!tagPreviewBtnClicked) {
|
||||
final String selectedOption = (String) optiongroup.getValue();
|
||||
if (selectedOption == null || !selectedOption.equalsIgnoreCase(updateTagStr)) {
|
||||
if (selectedOption == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (tagNameComboBox.getValue() == null) {
|
||||
colorPickerLayout
|
||||
.setSelectedColor(ColorPickerHelper.rgbToColorConverter(ColorPickerConstants.DEFAULT_COLOR));
|
||||
return;
|
||||
} else {
|
||||
colorPickerLayout.setSelectedColor(getColorForColorPicker());
|
||||
}
|
||||
colorPickerLayout.setSelectedColor(getColorForColorPicker());
|
||||
}
|
||||
|
||||
tagPreviewBtnClicked = !tagPreviewBtnClicked;
|
||||
|
||||
Reference in New Issue
Block a user