diff --git a/borg_qt/main_window.py b/borg_qt/main_window.py index 34db17e..6bbadab 100644 --- a/borg_qt/main_window.py +++ b/borg_qt/main_window.py @@ -189,6 +189,8 @@ class MainWindow(QMainWindow): def delete_backup(self): """Deletes the selected archive from the repository.""" + if not self._check_mounts(): + return try: archive_name = self.selected_archive except AttributeError: