mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Make enable_and_reset not half lie.
https://github.com/dcs-liberation/dcs_liberation/issues/1185
This commit is contained in:
parent
725b5083c7
commit
b8c14d69c3
@ -123,6 +123,7 @@ class PilotControls(QHBoxLayout):
|
|||||||
|
|
||||||
def enable_and_reset(self) -> None:
|
def enable_and_reset(self) -> None:
|
||||||
self.selector.rebuild()
|
self.selector.rebuild()
|
||||||
|
self.player_checkbox.setEnabled(True)
|
||||||
self.on_pilot_changed(self.selector.currentIndex())
|
self.on_pilot_changed(self.selector.currentIndex())
|
||||||
|
|
||||||
def disable_and_clear(self) -> None:
|
def disable_and_clear(self) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user