Skip to content
Browse files

Fix line after cut & paste.

  • Loading branch information...
1 parent da80101 commit 2bd0bcaecd65605e490c0b994a7dbd8896f6c5f0 @pberkes pberkes committed Jun 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 pyface/ui/qt4/tasks/split_editor_area_pane.py
View
4 pyface/ui/qt4/tasks/split_editor_area_pane.py
@@ -344,8 +344,8 @@ def _focus_changed(self, old, new):
control = editor.control
if control is not None and control.isAncestorOf(new):
self.active_tabwidget = \
- self._find_ancestor_draggable_tab_widget(new)
- self.active_tabwidget.setCurrentWidget(editor.control)
+ self._find_ancestor_draggable_tab_widget(control)
+ self.active_tabwidget.setCurrentWidget(control)
# Set active_editor at the end so that the notification
# occurs when everything is ready.
self.active_editor = editor

0 comments on commit 2bd0bca

Please sign in to comment.
Something went wrong with that request. Please try again.