mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 15:57:34 +00:00
Remove leftovers in repo selector (#1308)
This commit is contained in:
parent
c797719513
commit
37850b15a2
1 changed files with 1 additions and 4 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue