Skip to content

Commit 8c24387

Browse files
committed
Fix visibility icon inversion, decreased height of existing repo dialog
Signed-off-by: Chirag Aggarwal <thechiragaggarwal@gmail.com>
1 parent 7a3eadd commit 8c24387

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/vorta/views/partials/password_input.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def visible(self, value: bool) -> None:
4444

4545
if self._show_visibility_button:
4646
if self._visible:
47-
self.showHideAction.setIcon(get_colored_icon("eye"))
48-
else:
4947
self.showHideAction.setIcon(get_colored_icon("eye-slash"))
48+
else:
49+
self.showHideAction.setIcon(get_colored_icon("eye"))
5050

5151
def toggle_visibility(self) -> None:
5252
"""Toggle password visibility"""

src/vorta/views/repo_add_dialog.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ def __init__(self):
218218
super().__init__()
219219
self.title.setText(self.tr('Connect to existing Repository'))
220220

221+
self.setFixedHeight(200)
222+
221223
self.passwordLabel = QLabel(self.tr('Password:'))
222224
self.passwordInput = PasswordLineEdit()
223225
self.repoDataFormLayout.addRow(self.passwordLabel, self.passwordInput)

0 commit comments

Comments
 (0)