260 self.buttonBox.button(QDialogButtonBox.Open).setEnabled( |
260 self.buttonBox.button(QDialogButtonBox.Open).setEnabled( |
261 current is not None) |
261 current is not None) |
262 |
262 |
263 def show(self): |
263 def show(self): |
264 """ |
264 """ |
265 Overwritten method to enable/disable the project checkbox. |
265 Public method to enable/disable the project checkbox. |
266 """ |
266 """ |
267 if self.project and self.project.isOpen(): |
267 if self.project and self.project.isOpen(): |
268 self.projectCheckBox.setEnabled(True) |
268 self.projectCheckBox.setEnabled(True) |
269 self.projectCheckBox.setChecked(True) |
269 self.projectCheckBox.setChecked(True) |
270 else: |
270 else: |