Skip to content

Commit

Permalink
bugfix: correct label in dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Sep 26, 2020
1 parent 24e2274 commit 0c2fe4d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ public MakeIsotropic() {
}

protected boolean configure() {
String unit = "unit";
if (my_source != null) {
unit = my_source.getCalibration().getUnit();
}
GenericDialog gdp = new GenericDialog("Make isotropic");
gdp.addNumericField("Future voxel size (in microns)", 1.0, 1);
gdp.addNumericField("Future voxel size (in " + unit + ")", 1.0, 1);
gdp.showDialog();

System.out.println("First dialog done");
Expand Down

0 comments on commit 0c2fe4d

Please sign in to comment.