Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Cannot "Browse other branch..." #134

Closed
manuelbua opened this Issue · 0 comments

2 participants

@manuelbua

Just trying to browse another branch once i opened a repository, no dialog will open, just this error is output to the console and nothing else happens:

Traceback (most recent call last):
  File "/usr/share/git-cola/lib/cola/guicmds.py", line 78, in browse_other
    BrowseDialog.browse(branch)
  File "/usr/share/git-cola/lib/cola/widgets/browse.py", line 76, in browse
    dlg.resize(parent.width()*3/4, 333)
AttributeError: 'NoneType' object has no attribute 'width'

Python v2.7.3, ArchLinux-64

@davvid davvid closed this issue from a commit
@davvid davvid widgets.browse: Handle the case where there is no parent window
utils.active_window() can return None when there is no active window.
Avoid a traceback by testing for this condition.

Closes #134

Signed-off-by: David Aguilar <davvid@gmail.com>
df8eb86
@davvid davvid closed this in df8eb86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.