diff --git a/src/main/java/ai/nets/samj/gui/SAMJDialog.java b/src/main/java/ai/nets/samj/gui/SAMJDialog.java index e90f305..938c91a 100644 --- a/src/main/java/ai/nets/samj/gui/SAMJDialog.java +++ b/src/main/java/ai/nets/samj/gui/SAMJDialog.java @@ -280,6 +280,8 @@ public void error(String text) {} pnActions.add(bnComplete); pnActions.add(cmbROIs); pnActions.add(chkROIManager); + // TODO think what to do with "add to roimanager" cehckbox + chkROIManager.setEnabled(false); List listImages = this.consumerMethods.getListOfOpenImages(); for(ComboBoxItem item : listImages) @@ -461,7 +463,7 @@ public void updateInterface(boolean deleteEncodings) { && ((ComboBoxItem) this.cmbImage.getSelectedItem()).getId() != -1) { this.bnStart.setEnabled(true); this.cmbImage.setEnabled(true); - this.chkROIManager.setEnabled(true); + // TODO think what to do this.chkROIManager.setEnabled(true); this.cmbROIs.setEnabled(true); } else if (this.panelModel.isSelectedModelInstalled() && this.cmbImage.getSelectedItem() != null @@ -474,7 +476,7 @@ public void updateInterface(boolean deleteEncodings) { } // TODO not ready yet bnComplete.setEnabled(this.encodingsDone); bnRoi2Labeling.setEnabled(this.encodingsDone); - chkROIManager.setEnabled(this.encodingsDone); + // TODO think what to do chkROIManager.setEnabled(this.encodingsDone); cmbROIs.setEnabled(this.encodingsDone); bnRect.setEnabled(this.encodingsDone); bnPoints.setEnabled(this.encodingsDone);