mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Added accept button to Air Wing Configuration window. (#2307)
* Add accept button to Air Wing Configuration window. * Update black to 22.6.0. Change pre-commit to use updated black. * Update click to 8.1.3.
This commit is contained in:
parent
7355162d80
commit
e60cde892a
@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.1.0
|
rev: 22.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3
|
language_version: python3
|
||||||
@ -20,6 +20,7 @@ Saves from 5.x are not compatible with 6.0.
|
|||||||
* **[Modding]** Updated the High Digit SAMs implementation and added the HQ-2 as well as the upgraded SA-2 and SA-3 Launchers from the mod. Threat range circles will now also be displayed correctly.
|
* **[Modding]** Updated the High Digit SAMs implementation and added the HQ-2 as well as the upgraded SA-2 and SA-3 Launchers from the mod. Threat range circles will now also be displayed correctly.
|
||||||
* **[UI]** Added options to the loadout editor for setting properties such as HMD choice.
|
* **[UI]** Added options to the loadout editor for setting properties such as HMD choice.
|
||||||
* **[UI]** Added separate images for the different carrier types.
|
* **[UI]** Added separate images for the different carrier types.
|
||||||
|
* **[UI]** Add Accept button to Air Wing Configurator screen.
|
||||||
* **[Campaign]** Allow campaign designers to define default values for the economy settings (starting budget and multiplier).
|
* **[Campaign]** Allow campaign designers to define default values for the economy settings (starting budget and multiplier).
|
||||||
* **[Plugins]** Allow full support of the SkynetIADS plugin with all advanced features (connection nodes, power sources, command centers) if campaign supports it.
|
* **[Plugins]** Allow full support of the SkynetIADS plugin with all advanced features (connection nodes, power sources, command centers) if campaign supports it.
|
||||||
* **[Plugins]** Added support for the CTLD script by ciribob with many possible customization options and updated the JTAC Autolase to the CTLD included script.
|
* **[Plugins]** Added support for the CTLD script by ciribob with many possible customization options and updated the JTAC Autolase to the CTLD included script.
|
||||||
|
|||||||
@ -512,6 +512,10 @@ class AirWingConfigurationDialog(QDialog):
|
|||||||
tab_widget.addTab(coalition_tab, name)
|
tab_widget.addTab(coalition_tab, name)
|
||||||
self.tabs.append(coalition_tab)
|
self.tabs.append(coalition_tab)
|
||||||
|
|
||||||
|
apply_button = QPushButton("Accept")
|
||||||
|
apply_button.clicked.connect(lambda state: self.accept())
|
||||||
|
layout.addWidget(apply_button)
|
||||||
|
|
||||||
def reject(self) -> None:
|
def reject(self) -> None:
|
||||||
for tab in self.tabs:
|
for tab in self.tabs:
|
||||||
tab.apply()
|
tab.apply()
|
||||||
|
|||||||
@ -3,10 +3,10 @@ anyio==3.5.0
|
|||||||
asgiref==3.5.0
|
asgiref==3.5.0
|
||||||
atomicwrites==1.4.0
|
atomicwrites==1.4.0
|
||||||
attrs==21.4.0
|
attrs==21.4.0
|
||||||
black==22.1.0
|
black==22.6.0
|
||||||
certifi==2021.10.8
|
certifi==2021.10.8
|
||||||
cfgv==3.3.1
|
cfgv==3.3.1
|
||||||
click==8.0.3
|
click==8.1.3
|
||||||
colorama==0.4.4
|
colorama==0.4.4
|
||||||
distlib==0.3.4
|
distlib==0.3.4
|
||||||
Faker==12.3.0
|
Faker==12.3.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user