1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-01-03 05:36:19 +00:00

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:
real-yfprojects 2022-11-24 17:55:10 +01:00
parent 031a498ee0
commit b072496b31
No known key found for this signature in database
GPG key ID: 00F630DFDEE25747

View file

@ -22,7 +22,6 @@ def __init__(self, parent=None):
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 @@ def __init__(self, parent=None):
# 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"))