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

old-commit-hash: 493d20994a
beeps
Dean Lee 2 years ago committed by GitHub
parent 688247e659
commit 0f49992718
  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