diff --git a/src/vorta/views/repo_tab.py b/src/vorta/views/repo_tab.py index 6f45a91d..f531f2fa 100644 --- a/src/vorta/views/repo_tab.py +++ b/src/vorta/views/repo_tab.py @@ -203,7 +203,7 @@ def ssh_copy_to_clipboard_action(self): msg.setParent(self, QtCore.Qt.Sheet) index = self.sshComboBox.currentIndex() - if index > 1: + if index > 0: ssh_key_filename = self.sshComboBox.itemData(index) ssh_key_path = os.path.expanduser(f'~/.ssh/{ssh_key_filename}.pub') if os.path.isfile(ssh_key_path):