DBC settings and bugfixes
- Changes in DBC file manager are immediately propagated to the main window (frames, filter labeling) - Prevent DBC file manager from saving settings too often and too early (this also fixes a bug where sometimes the settings of all but the first DBC file are lost)
This commit is contained in:
@@ -1029,11 +1029,19 @@ void MainWindow::showFlowViewWindow()
|
||||
flowViewWindow->show();
|
||||
}
|
||||
|
||||
|
||||
void MainWindow::DBCSettingsUpdated()
|
||||
{
|
||||
updateFilterList();
|
||||
model->sendRefresh();
|
||||
}
|
||||
|
||||
void MainWindow::showDBCFileWindow()
|
||||
{
|
||||
if (!dbcFileWindow)
|
||||
{
|
||||
dbcFileWindow = new DBCLoadSaveWindow(model->getListReference());
|
||||
connect(dbcFileWindow, &DBCLoadSaveWindow::updatedDBCSettings, this, &MainWindow::DBCSettingsUpdated);
|
||||
}
|
||||
dbcFileWindow->show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user