~ubuntu-branches/ubuntu/vivid/git-cola/vivid

« back to all changes in this revision

Viewing changes to cola/widgets/createbranch.py

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2014-02-14 13:13:33 UTC
  • mfrom: (1.3.22)
  • Revision ID: package-import@ubuntu.com-20140214131333-xbklb7yd9jntikpm
Tags: 1.9.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
    def __init__(self, model, parent=None):
80
80
        Dialog.__init__(self, parent=parent)
81
 
        self.setWindowModality(Qt.WindowModal)
82
81
        self.setAttribute(Qt.WA_MacMetalStyle)
83
82
        self.setWindowTitle(N_('Create Branch'))
 
83
        if parent is not None:
 
84
            self.setWindowModality(Qt.WindowModal)
84
85
 
85
86
        self.model = model
86
87
        self.opts = CreateOpts(model)