ome / omero-insight

Gradle project containing insight java client for OMERO
https://www.openmicroscopy.org/omero/
GNU General Public License v2.0
7 stars 14 forks source link

The same code is implemented for the 2 if/else logic sections. #432

Open scuniff opened 6 months ago

scuniff commented 6 months ago

https://github.com/ome/omero-insight/blob/cd24a6530e8a73547160cb00d14e50f4f47d0f11/src/main/java/org/openmicroscopy/shoola/agents/metadata/editor/PublishingDialog.java#L289-L291

Regarding lines 289 – 291

The same code is implemented for the 2 if/else logic sections.

  thumbnailsFigureItem.setEnabled(false);

Is that's what’s wanted?