Skip to content

Commit

Permalink
back to GenericDialogPlus to not break compatibily with older ImageJ
Browse files Browse the repository at this point in the history
  • Loading branch information
LauLauThom committed Nov 18, 2020
1 parent e472196 commit 13e3916
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@
#from timeit import default_timer as timer

#@PrefService prefs
from ij.gui import GenericDialog
from Template_Matching.Version import version

from fiji.util.gui import GenericDialogPlus
# rest of imports below on purpose (otherwise searchRoi lost)

## Create GUI
Win = GenericDialog("Multiple Template Matching")
Win = GenericDialogPlus("Multiple Template Matching")
Win.addImageChoice("Template", prefs.get("Template","Choice"))
Win.addImageChoice("Image", prefs.get("Image", "Choice"))
Win.addMessage("# Template pre-processing")
Expand Down

0 comments on commit 13e3916

Please sign in to comment.