1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 07:43:09 +00:00

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

View file

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