cabana: do not emit DBCFileChanged if no file changes (#27800)

pull/27807/head
Dean Lee 2 years ago committed by GitHub
parent c5f5a3b5f2
commit 493d20994a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/cabana/dbc/dbcmanager.cc

@ -59,6 +59,8 @@ bool DBCManager::open(SourceSet s, const QString &name, const QString &content,
}
void DBCManager::closeAll() {
if (dbc_files.isEmpty()) return;
while (dbc_files.size()) {
DBCFile *dbc_file = dbc_files.back().second;
dbc_files.pop_back();

Loading…
Cancel
Save