mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-18 20:02:32 +12:00
Adds userID and other stuff
This commit is contained in:
parent
fce701501f
commit
07b17ab2e9
|
@ -181,7 +181,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
|||
|
||||
def changeCurrentPerso(self, trash=None):
|
||||
for i in range(self.mdlPersosInfos.columnCount()):
|
||||
self.tblPersoInfos.setColumnHidden(i, i<>0 and i<>self.lstPersos.currentIndex().row()+1)
|
||||
idx = self.lstPersos.currentIndex()
|
||||
pid = idx.sibling(idx.row(), 1)
|
||||
pid2 = self.mdlPersosInfos.item(i, 0)
|
||||
self.tblPersoInfos.setColumnHidden(i, i<>0 and pid <> pid2)
|
||||
#self.tblPersoInfos.horizontalHeader().resizeSections(QHeaderView.Stretch)
|
||||
|
||||
self.resizePersosInfos()
|
||||
|
|
Loading…
Reference in a new issue