Changeset 981bcd6d840a…
Parent c62d01aeeabe…
by
Changes to one file · Browse files at 981bcd6d840a Showing diff from parent c62d01aeeabe Diff from another changeset...
@@ -378,6 +378,8 @@ if 'fetch' in repo.extensions() or repo.postpull == 'fetch':
self.fetch = QRadioButton(_('Fetch - use fetch extension'))
layout.addWidget(self.fetch)
+ else:
+ self.fetch = None
if 'rebase' in repo.extensions() or repo.postpull == 'rebase':
self.rebase = QRadioButton(_('Rebase - use rebase extension'))
layout.addWidget(self.rebase)
@@ -418,7 +420,7 @@ return 'none'
elif self.update.isChecked():
return 'update'
- elif self.fetch.isChecked():
+ elif (self.fetch and self.fetch.isChecked()):
return 'fetch'
else:
return 'rebase'
|
Loading...