mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
parent
6ae32b13b8
commit
4711473b64
@ -69,6 +69,9 @@ class QFlightWaypointList(QTableView):
|
|||||||
self.model.index(current_index, 0),
|
self.model.index(current_index, 0),
|
||||||
QItemSelectionModel.SelectionFlag.Select,
|
QItemSelectionModel.SelectionFlag.Select,
|
||||||
)
|
)
|
||||||
|
self.model.setVerticalHeaderLabels([str(n) for n in range(len(waypoints))])
|
||||||
|
self.verticalHeader().setMaximumWidth(25)
|
||||||
|
|
||||||
self.resizeColumnsToContents()
|
self.resizeColumnsToContents()
|
||||||
total_column_width = self.verticalHeader().width() + self.lineWidth()
|
total_column_width = self.verticalHeader().width() + self.lineWidth()
|
||||||
for i in range(0, self.model.columnCount()):
|
for i in range(0, self.model.columnCount()):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user