Permalink
Browse files

Merge pull request #33 from enthought/no-control-fix

No control fix
  • Loading branch information...
2 parents 16fafa9 + 6919f53 commit 423ef79378c046c190c73ceed2d512cb3cc10340 @jdmarch jdmarch committed Apr 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyface/ui/qt4/tasks/advanced_editor_area_pane.py
@@ -491,7 +491,7 @@ def focusInEvent(self, event):
""" Assign focus to the active editor, if possible.
"""
active_editor = self.editor_area.active_editor
- if active_editor:
+ if active_editor and active_editor.control:
set_focus(active_editor.control)
###########################################################################

0 comments on commit 423ef79

Please sign in to comment.