fix:v1.3.1修复BUG。

This commit is contained in:
2024-08-27 20:15:41 +08:00
parent b05783191f
commit f2b1525b92
13 changed files with 50 additions and 38 deletions

View File

@@ -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();