QGIS完成初步重构
This commit is contained in:
@@ -15,7 +15,7 @@ class MapExporter:
|
||||
|
||||
def update_texts(self, model: dict) -> None:
|
||||
"""更新布局中的文本标签"""
|
||||
for key in ["mapTitle", "mapTime", "mapUnit", "info"]:
|
||||
for key in ["mapTitle", "mapTime", "mapUint", "info"]:
|
||||
label = self.layout.itemById(key)
|
||||
if label is not None:
|
||||
label.setText(model[key])
|
||||
|
||||
Reference in New Issue
Block a user