Skip to content

Commit

Permalink
adjust title in ij window: title is used to set image name
Browse files Browse the repository at this point in the history
  • Loading branch information
jburel committed Aug 5, 2023
1 parent 782bf8c commit 0f71a03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private void runAsImageJ(long id, SecurityContext ctx)
}
IJ.runPlugIn("loci.plugins.LociImporter", buffer.toString());
ImagePlus img = IJ.getImage();
img.setTitle(img.getTitle() + "--" + "OMERO ID:" + id);
img.setTitle(img.getTitle() + "--" + "OMERO_ID_" + id);
img.setProperty(FileObject.OMERO_ID, id);
img.setProperty(FileObject.OMERO_GROUP, ctx.getGroupID());
} catch (Exception e) {
Expand Down

0 comments on commit 0f71a03

Please sign in to comment.