func:导入功能初步完成(没有检查重复)
This commit is contained in:
@@ -381,7 +381,7 @@ bool MainWidget::edit_property(Element_t* target, int row)
|
||||
}
|
||||
|
||||
Property_t property;
|
||||
xml_.get_key_value(target, property);
|
||||
xml_.get_attributes(target, property);
|
||||
|
||||
// 检测key值是否变化
|
||||
std::string value_pre = property[0].value;
|
||||
@@ -403,7 +403,7 @@ bool MainWidget::edit_property(Element_t* target, int row)
|
||||
}
|
||||
}
|
||||
}
|
||||
xml_.key_value_to_element(target, property);
|
||||
xml_.attributes_to_element(target, property);
|
||||
|
||||
// 这里要同步到界面
|
||||
ele_update_gui(target, row);
|
||||
|
||||
Reference in New Issue
Block a user