mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
asset reference links 😎 (#1363)
Adds urls to unit info pages that don't have data.
(cherry picked from commit 5f5b5f69e3)
This commit is contained in:
committed by
Brock Greman
parent
c7d3f1a340
commit
de9d388b96
@@ -94,6 +94,9 @@ class QUnitInfoWindow(QDialog):
|
||||
self.details_text = QTextBrowser()
|
||||
self.details_text.setProperty("style", "info-desc")
|
||||
self.details_text.setText(unit_type.description)
|
||||
self.details_text.setOpenExternalLinks(
|
||||
True
|
||||
) # in aircrafttype.py and groundunittype.py, for the descriptions, if No Data. including a google search link
|
||||
self.gridLayout.addWidget(self.details_text, 3, 0)
|
||||
|
||||
self.layout.addLayout(self.gridLayout, 1, 0)
|
||||
|
||||
Reference in New Issue
Block a user