mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fixes #268
Changes red base info to show defenses first, and adds an attack option
This commit is contained in:
@@ -34,12 +34,13 @@ class Dialog:
|
||||
cls.game_model = game_model
|
||||
|
||||
@classmethod
|
||||
def open_new_package_dialog(cls, mission_target: MissionTarget):
|
||||
def open_new_package_dialog(cls, mission_target: MissionTarget, parent=None):
|
||||
"""Opens the dialog to create a new package with the given target."""
|
||||
cls.new_package_dialog = QNewPackageDialog(
|
||||
cls.game_model,
|
||||
cls.game_model.ato_model,
|
||||
mission_target
|
||||
mission_target,
|
||||
parent=parent
|
||||
)
|
||||
cls.new_package_dialog.show()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user