Skip to content

Commit

Permalink
MISC: explore won't work under qt
Browse files Browse the repository at this point in the history
  • Loading branch information
GaelVaroquaux committed Dec 8, 2011
1 parent 2e81893 commit 88ccb92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mayavi/plugins/mayavi_ui_plugin.py
Expand Up @@ -204,6 +204,8 @@ def _on_application_gui_started(self, obj, trait_name, old, new):
try:
py.bind('mayavi', script)
py.bind('engine', script.engine)
# The following will fail under Qt, as it needs the Pyface
# Tree that has not been ported from Wx yet.
from apptools.naming.ui.api import explore
py.bind('explore', explore)
except AttributeError, msg:
Expand Down

0 comments on commit 88ccb92

Please sign in to comment.