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
1 changed files with 4 additions and 0 deletions

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 @@ class SnapshotTab(SnapshotBase, SnapshotUI, BackupProfileMixin):
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)