Skip to content

Commit

Permalink
BUG: Fixes calls to slicer.util.moduleNames()
Browse files Browse the repository at this point in the history
The moduleNames() function was renamed to "loadedModuleNames"

See https://github.com/Slicer/Slicer/blob/master/Base/QTCore/qSlicerModuleFactoryManager.h#L60
    na-mic.org/Mantis/view.php?id=2591

Fixes #2591
  • Loading branch information
Christopher Mullins committed Oct 12, 2012
1 parent 6f7c36d commit 1126fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Base/Python/slicer/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def selectModule(module):

def moduleNames():
from slicer import app
return app.moduleManager().factoryManager().moduleNames()
return app.moduleManager().factoryManager().loadedModuleNames()

def getModule(moduleName):
from slicer import app
Expand Down

0 comments on commit 1126fa9

Please sign in to comment.