Skip to content

Commit

Permalink
Fix BrowserLauncher calls
Browse files Browse the repository at this point in the history
* another thing that is presumably no longer imported when running jython scripts
* but strangely does seem to work with jython scripting window
  • Loading branch information
jefferis committed Apr 16, 2015
1 parent dc83659 commit b122829
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion About_CMTK.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
gd.setCancelLabel("CMTK Web Page")
gd.showDialog()
if gd.wasCanceled():
BrowserLauncher().run("http://www.nitrc.org/projects/cmtk/")
from ij import IJ
IJ.runPlugIn("ij.plugin.BrowserLauncher", "http://www.nitrc.org/projects/cmtk/")
3 changes: 2 additions & 1 deletion About_CMTK_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
gd.setCancelLabel("CMTK GUI Web Page")
gd.showDialog()
if gd.wasCanceled():
BrowserLauncher().run("https://github.com/jefferis/fiji-cmtk-gui")
from ij import IJ
IJ.runPlugIn("ij.plugin.BrowserLauncher", "https://github.com/jefferis/fiji-cmtk-gui")

0 comments on commit b122829

Please sign in to comment.