mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix bug w.r.t. enable/disable JTAC for OWNFOR
This commit is contained in:
parent
6d9478e0d4
commit
94a14f40cb
@ -35,6 +35,7 @@ class QFactionUnits(QScrollArea):
|
|||||||
self.parent = parent
|
self.parent = parent
|
||||||
self.faction = faction
|
self.faction = faction
|
||||||
self._create_checkboxes(show_jtac)
|
self._create_checkboxes(show_jtac)
|
||||||
|
self.show_jtac = show_jtac
|
||||||
|
|
||||||
def _add_checkboxes(
|
def _add_checkboxes(
|
||||||
self,
|
self,
|
||||||
@ -214,7 +215,7 @@ class QFactionUnits(QScrollArea):
|
|||||||
self.faction = faction
|
self.faction = faction
|
||||||
self.content = QWidget()
|
self.content = QWidget()
|
||||||
self.setWidget(self.content)
|
self.setWidget(self.content)
|
||||||
self._create_checkboxes()
|
self._create_checkboxes(self.show_jtac)
|
||||||
self.update()
|
self.update()
|
||||||
if self.parent:
|
if self.parent:
|
||||||
self.parent.update()
|
self.parent.update()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user