- fix: compiler autolinks options widget don't show autolink infos

This commit is contained in:
royqh1979 2021-10-25 09:35:13 +08:00
parent 3a7065e9d8
commit d1ccabbd6b
2 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ Version 0.7.3
- fix: can't correctly handle '&&' and '||' in the #if directive (and correctly parse windows.h header file) - fix: can't correctly handle '&&' and '||' in the #if directive (and correctly parse windows.h header file)
- fix: crash when create an empty project - fix: crash when create an empty project
- fix: syntax issues' filepath info not correct when build projects - fix: syntax issues' filepath info not correct when build projects
- fix: compiler autolinks options widget don't show autolink infos
Version 0.7.2 Version 0.7.2
- fix: rainbow parenthesis stop functioning when change editor's general options - fix: rainbow parenthesis stop functioning when change editor's general options

View File

@ -181,7 +181,9 @@ const QList<PAutolink> &AutolinkModel::links() const
void AutolinkModel::setLinks(const QMap<QString, PAutolink> &newLinks) void AutolinkModel::setLinks(const QMap<QString, PAutolink> &newLinks)
{ {
beginResetModel();
mLinks = newLinks.values(); mLinks = newLinks.values();
endResetModel();
} }
int AutolinkModel::findLink(const QString &header) int AutolinkModel::findLink(const QString &header)