fix:v1.3.1修复BUG。
This commit is contained in:
@@ -18,7 +18,7 @@ MainWidget::MainWidget(QWidget* parent) : QWidget(parent), ui(new Ui::MainWidget
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
setWindowTitle(u8"OneLevelXmlOpr v1.3.0");
|
||||
setWindowTitle(u8"OneLevelXmlOpr v1.3.1");
|
||||
setWindowIcon(QIcon("://resource/xml.ico"));
|
||||
|
||||
QScreen* primaryScreen = QGuiApplication::primaryScreen();
|
||||
@@ -483,7 +483,7 @@ bool MainWidget::edit_property(Element_t* target, int row)
|
||||
}
|
||||
|
||||
attri_edit_->get_attribute(property);
|
||||
if (property[0].value != value_pre) {
|
||||
if (property[0].value == value_pre) {
|
||||
while (xml_.check_key_exists(property)) {
|
||||
CUtil::msg(attri_edit_, u8"不能有相同的key,请检查。");
|
||||
attri_edit_->exec();
|
||||
|
||||
Reference in New Issue
Block a user