- fix: Shouldn't update auto link settings, if the header name to be modified is unchanged

This commit is contained in:
royqh1979 2021-11-14 18:54:12 +08:00
parent c59b9c9283
commit 2b3f8a644f
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
Version 0.8.10 For Dev-C++ 7 Beta
- fix: Shouldn't update auto link settings, if the header name to be modified is unchanged
Version 0.8.9 For Dev-C++ 7 Beta
- fix: text color of labels in statusbar not correctly updated when change theme

View File

@ -110,6 +110,8 @@ bool AutolinkModel::setData(const QModelIndex &index, const QVariant &value, int
if (index.column() == 0) {
if (s.isEmpty())
return false;
if (link->header == s)
return false;
if (findLink(s)>=0) {
QMessageBox::warning(pMainWindow,
tr("Header exists"),