mirror of
https://github.com/borgbase/vorta
synced 2024-12-23 00:07:58 +00:00
Fixes Sentry issue VORTA-MACOS-1T - missing mount cmd after failed preparation.
This commit is contained in:
parent
b13b6f91c1
commit
617c8d1c37
1 changed files with 5 additions and 0 deletions
|
@ -120,6 +120,11 @@ def list_result(self, result):
|
|||
def mount_action(self):
|
||||
profile = self.profile()
|
||||
params = BorgMountThread.prepare(profile)
|
||||
if not params['ok']:
|
||||
self._set_status(params['message'])
|
||||
return
|
||||
|
||||
# Conditions are met (borg binary available, etc)
|
||||
row_selected = self.snapshotTable.selectionModel().selectedRows()
|
||||
if row_selected:
|
||||
snapshot_cell = self.snapshotTable.item(row_selected[0].row(), 3)
|
||||
|
|
Loading…
Reference in a new issue