fix custom generate source

This commit is contained in:
baiYue 2026-06-16 14:36:56 +08:00
parent 0aac4c42c3
commit efeece0e99
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ void CustomHMIGenerateDlg::showDlg(QString sHmi,QString sSys,int nModel)
_pOperatePanel->getModelController()->clearCurItems(); //先清空
_pPreviewPanel->getModelController()->clearCurItems();
QJsonObject context = db->getHMIContextByTag(sSys);
QJsonObject context = db->getMonitorContextByTag(sSys);
_pOperatePanel->loadNodes(context);
_pOperatePanel->centerOnTopLeft();
}