1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-02-23 14:50:42 +00:00

Remove platform-specific FUSE hint. Fixes #37

This commit is contained in:
Manu 2018-11-22 09:05:54 +08:00
parent 1894558541
commit b6dcca5408

View file

@ -1,3 +1,4 @@
import sys
from datetime import timedelta
from PyQt5 import uic
from PyQt5.QtWidgets import QTableWidgetItem, QTableView, QHeaderView
@ -27,6 +28,9 @@ def __init__(self, parent=None):
header.setSectionResizeMode(2, QHeaderView.ResizeToContents)
header.setSectionResizeMode(3, QHeaderView.Stretch)
if sys.platform != 'darwin':
self._set_status('') # Set platform-specific hints.
self.snapshotTable.setSelectionBehavior(QTableView.SelectRows)
self.snapshotTable.setEditTriggers(QTableView.NoEditTriggers)