mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 05:52:06 +08:00
cabana: fix merging sources for already open DBC file (#27715)
* fix build * fix merging sources
This commit is contained in:
@@ -14,7 +14,8 @@ bool DBCManager::open(SourceSet s, const QString &dbc_file_name, QString *error)
|
||||
|
||||
// Check if file is already open, and merge sources
|
||||
if (dbc_file->filename == dbc_file_name) {
|
||||
ss |= s;
|
||||
dbc_files[i] = {ss | s, dbc_file};
|
||||
|
||||
emit DBCFileChanged();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <optional>
|
||||
|
||||
#include <QList>
|
||||
#include <QMetaType>
|
||||
#include <QObject>
|
||||
|
||||
Reference in New Issue
Block a user