1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 15:57:34 +00:00

Fixes Sentry issue VORTA-MACOS-1T - missing mount cmd after failed preparation.

This commit is contained in:
Manu 2018-11-13 08:12:17 +08:00
parent b13b6f91c1
commit 617c8d1c37

View file

@ -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)