Changeset 94f2bee6844f…
Parent f0338eba5158…
by
Changes to one file · Browse files at 94f2bee6844f Showing diff from parent f0338eba5158 Diff from another changeset...
@@ -490,7 +490,10 @@ self._show_diff_hunks(files)
self.tree.show()
- self.tree.grab_focus()
+ if hasattr(self, 'text'):
+ self.text.grab_focus()
+ else:
+ self.tree.grab_focus()
return True
|
Loading...