Skip to content

Commit

Permalink
Corrected error in SelectInputPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
djpbarry committed Feb 8, 2024
1 parent 2c012c2 commit e82ae29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/calm/giani/ui/SelectInputPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ private void previewButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN
setVariables();
int channel = Integer.parseInt((String) channelComboBox.getSelectedItem());
try {
img.loadPixelData(getSelectedSeries(), channel, channel + 1, null);
img.loadPixelData(getSelectedSeries(), channel, channel, null);
ImagePlus imp = img.getLoadedImage();
imp.show();
IJ.log(String.format("Displaying \"%s\"", imp.getTitle()));
Expand Down

0 comments on commit e82ae29

Please sign in to comment.