mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fixed T+ not updating in the list of flight shown in the mission planner.
This commit is contained in:
parent
b38f6c39e4
commit
45af66e000
@ -98,6 +98,7 @@ class QMissionPlanning(QDialog):
|
||||
self.planned_flight_view.repaint()
|
||||
|
||||
if self.flight_planner is not None:
|
||||
self.flight_planner.on_planned_flight_changed.disconnect()
|
||||
self.flight_planner.clearTabs()
|
||||
|
||||
try:
|
||||
|
||||
@ -23,6 +23,7 @@ class QPlannedFlightsView(QListView):
|
||||
self.flightitems[i].update(f)
|
||||
|
||||
def setup_content(self, row=0):
|
||||
self.flightitems = []
|
||||
for i, f in enumerate(self.flight_planner.flights):
|
||||
item = QFlightItem(f)
|
||||
self.model.appendRow(item)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user