eric6/Plugins/VcsPlugins/vcsGit/GitSubmodulesListDialog.py

branch
maintenance
changeset 8176
31965986ecd1
parent 8143
2c730d5fd177
child 8218
7c09585bd960
equal deleted inserted replaced
8153:e01ae92db699 8176:31965986ecd1
35 submodule["path"], 35 submodule["path"],
36 submodule["url"], 36 submodule["url"],
37 submodule["branch"] 37 submodule["branch"]
38 ]) 38 ])
39 self.submodulesList.header().resizeSections( 39 self.submodulesList.header().resizeSections(
40 QHeaderView.ResizeToContents) 40 QHeaderView.ResizeMode.ResizeToContents)
41 self.submodulesList.header().setStretchLastSection(True) 41 self.submodulesList.header().setStretchLastSection(True)
42 42
43 self.submodulesList.setSortingEnabled(True) 43 self.submodulesList.setSortingEnabled(True)
44 self.submodulesList.sortItems(0, Qt.AscendingOrder) 44 self.submodulesList.sortItems(0, Qt.SortOrder.AscendingOrder)
45 self.submodulesList.setSortingEnabled(False) 45 self.submodulesList.setSortingEnabled(False)

eric ide

mercurial