114 |
116 |
115 def showMenu(self): |
117 def showMenu(self): |
116 """ |
118 """ |
117 Public slot called before the vcs menu is shown. |
119 Public slot called before the vcs menu is shown. |
118 """ |
120 """ |
119 self.vcsAddAct.setEnabled(self.project.isOpen()) |
121 if self.vcsAddAct: |
|
122 self.vcsAddAct.setEnabled(self.project.isOpen()) |
120 |
123 |
121 def _vcsCheckout(self, export=False): |
124 def _vcsCheckout(self, export=False): |
122 """ |
125 """ |
123 Protected slot used to create a local project from the repository. |
126 Protected slot used to create a local project from the repository. |
124 |
127 |