Remove leftovers in repo selector (#1308)

This commit is contained in:
Manuel Riel 2022-05-22 07:52:30 +04:00 committed by GitHub
parent c797719513
commit 37850b15a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -220,10 +220,7 @@ class RepoTab(RepoBase, RepoUI, BackupProfileMixin):
# window.rejected.connect(lambda: self.repoSelector.setCurrentIndex(0))
window.open()
def repo_select_action(self, index):
if index == 0:
return
def repo_select_action(self):
profile = self.profile()
profile.repo = self.repoSelector.currentData()
profile.save()