mirror of https://github.com/borgbase/vorta
Populate repo info from profile after populating dropdowns.
* src/vorta/views/repo_tab.py (RepoTab.__init__): Move call to `populate_from_profile` from the beginning to the end.
This commit is contained in:
parent
031a498ee0
commit
b072496b31
|
@ -22,7 +22,6 @@ class RepoTab(RepoBase, RepoUI, BackupProfileMixin):
|
|||
self.setupUi(parent)
|
||||
|
||||
# Populate dropdowns
|
||||
self.populate_from_profile()
|
||||
self.repoRemoveToolbutton.clicked.connect(self.repo_unlink_action)
|
||||
self.copyURLbutton.clicked.connect(self.copy_URL_action)
|
||||
|
||||
|
@ -65,6 +64,8 @@ class RepoTab(RepoBase, RepoUI, BackupProfileMixin):
|
|||
# Connect to palette change
|
||||
QApplication.instance().paletteChanged.connect(lambda p: self.set_icons())
|
||||
|
||||
self.populate_from_profile() # needs init of ssh and compression items
|
||||
|
||||
def set_icons(self):
|
||||
self.bAddSSHKey.setIcon(get_colored_icon("plus"))
|
||||
self.bAddRepo.setIcon(get_colored_icon("plus"))
|
||||
|
|
Loading…
Reference in New Issue