Skip to content

Commit

Permalink
dag: Focus the graph view on startup
Browse files Browse the repository at this point in the history
Make the navigation shortcuts available by focusing the graph
widget after the history is loaded.

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information
davvid committed Jan 16, 2012
1 parent 10454e6 commit 98c97ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cola/dag/view.py
Expand Up @@ -722,6 +722,7 @@ def add_commits(self, commits):

def thread_done(self):
self.setEnabled(True)
self.graphview.setFocus()
try:
commit_obj = self.commit_list[-1]
except IndexError:
Expand Down

0 comments on commit 98c97ae

Please sign in to comment.