Skip to content

Commit 4ad9501

Browse files
committed
Change factory priority to have consistent detector menu ordering.
1 parent 0fe3822 commit 4ad9501

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/fiji/plugin/trackmate/morpholibj/MorphoLibJDetectorFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import javax.swing.ImageIcon;
4141

4242
import org.jdom2.Element;
43+
import org.scijava.Priority;
4344
import org.scijava.plugin.Plugin;
4445

4546
import fiji.plugin.trackmate.Model;
@@ -53,7 +54,7 @@
5354
import net.imglib2.type.NativeType;
5455
import net.imglib2.type.numeric.RealType;
5556

56-
@Plugin( type = SpotDetectorFactory.class )
57+
@Plugin( type = SpotDetectorFactory.class, priority = Priority.LOW - 5. )
5758
public class MorphoLibJDetectorFactory< T extends RealType< T > & NativeType< T > > implements SpotDetectorFactory< T >
5859
{
5960

0 commit comments

Comments
 (0)