/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to viz/branchwin.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-29 10:09:23 UTC
  • Revision ID: jelmer@samba.org-20111129100923-1pyz12j2vy8ajp1d
Cope with no results in search dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
542
542
        dialog = SearchDialog(index)
543
543
 
544
544
        if dialog.run() == Gtk.ResponseType.OK:
545
 
            self.set_revision(dialog.get_revision())
 
545
            revid = dialog.get_revision()
 
546
            if revid is not None:
 
547
                self.set_revision(revid)
546
548
 
547
549
        dialog.destroy()
548
550