mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-16 03:44:56 +00:00
Make user row unselectable (to fix *nix icon glitch)
This commit is contained in:
parent
305e400eac
commit
8f77896559
@ -170,6 +170,10 @@ class MainWindow(QtGui.QMainWindow):
|
||||
filenameitem.setFlags(filenameitem.flags() & ~Qt.ItemIsEditable)
|
||||
filesizeitem.setFlags(filesizeitem.flags() & ~Qt.ItemIsEditable)
|
||||
filedurationitem.setFlags(filedurationitem.flags() & ~Qt.ItemIsEditable)
|
||||
useritem.setSelectable(False)
|
||||
filesizeitem.setSelectable(False)
|
||||
filedurationitem.setSelectable(False)
|
||||
filenameitem.setSelectable(False)
|
||||
roomitem.appendRow((useritem, filesizeitem, filedurationitem, filenameitem))
|
||||
self.listTreeModel = self._usertreebuffer
|
||||
self.listTreeView.setModel(self.listTreeModel)
|
||||
|
Loading…
Reference in New Issue
Block a user