This commit is contained in:
parent
a467f07dbd
commit
76c1f67706
|
@ -508,7 +508,7 @@ void Form_mainInterface::updateUiEnabled(bool enable)
|
|||
void Form_mainInterface::setGlobalCfg(AnalysisJson analysisJson)
|
||||
{
|
||||
AnalysisJson::json_global jsonGlobal = analysisJson.GetGlobal();
|
||||
LPWRITECFG p;
|
||||
LPWRITECFG p = new WRITECFG;
|
||||
|
||||
p->cat = WRITE_CAT_VID;
|
||||
p->val = &jsonGlobal.vid_to;
|
||||
|
@ -529,6 +529,8 @@ void Form_mainInterface::setGlobalCfg(AnalysisJson analysisJson)
|
|||
p->cat = WRITE_CAT_SERIALNUM;
|
||||
p->val = &m_serialNum;
|
||||
func_test_go((const wchar_t*)WRITE_CFG_NAME, (const wchar_t*)p, m_hg);
|
||||
|
||||
delete p;
|
||||
}
|
||||
|
||||
void Form_mainInterface::on_tableWidget_currentItemChanged(QTableWidgetItem *current, QTableWidgetItem *previous)
|
||||
|
|
Loading…
Reference in New Issue