Fix small issue with ground object menu when the ground object is empty.

This commit is contained in:
Khopa
2020-08-24 21:34:24 +02:00
parent d213fa1b91
commit 21c355bc9f
3 changed files with 12 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ class QGroundObjectMenu(QDialog):
self.doLayout()
if len(self.ground_object.groups) > 0:
if self.ground_object.dcs_identifier == "AA":
self.mainLayout.addWidget(self.intelBox)
else:
self.mainLayout.addWidget(self.buildingBox)