Make enable_and_reset not half lie.

https://github.com/dcs-liberation/dcs_liberation/issues/1185
This commit is contained in:
Dan Albert 2021-06-08 21:19:48 -07:00
parent 725b5083c7
commit b8c14d69c3

View File

@ -123,6 +123,7 @@ class PilotControls(QHBoxLayout):
def enable_and_reset(self) -> None:
self.selector.rebuild()
self.player_checkbox.setEnabled(True)
self.on_pilot_changed(self.selector.currentIndex())
def disable_and_clear(self) -> None: