Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ add_executable(dlt-viewer
main.cpp
mainwindow.h
mainwindow.cpp
mainwindow.h
project.h
project.cpp
ecudialog.h
Expand Down Expand Up @@ -82,6 +83,19 @@ add_executable(dlt-viewer
resources/dlt_viewer.rc
ecutree.h
ecutree.cpp
mainwindow.ui
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes in this file do not seem related to the bugfix, please remove them or put in a separate commit with clear message

exporterdialog.ui
searchdialog.ui
searchform.ui
settingsdialog.ui
multiplecontextdialog.ui
plugindialog.ui
filterdialog.ui
injectiondialog.ui
jumptodialog.ui
ecudialog.ui
contextdialog.ui
applicationdialog.ui
fileexplorertab.ui
fileexplorertab.h
fileexplorertab.cpp
Expand Down
5 changes: 4 additions & 1 deletion src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2944,7 +2944,7 @@ void MainWindow::on_action_menuConfig_Context_Edit_triggered()
void MainWindow::on_action_menuDLT_Edit_All_Log_Levels_triggered()
{

MultipleContextDialog dlg(0,0);
MultipleContextDialog dlg(logLevel,traceStatus);

if(dlg.exec())
{
Expand Down Expand Up @@ -3001,6 +3001,9 @@ void MainWindow::on_action_menuDLT_Edit_All_Log_Levels_triggered()
conitem->loglevel = dlg.loglevel();
conitem->tracestatus = dlg.tracestatus();

logLevel = conitem->loglevel + 1;
traceStatus = conitem->tracestatus +1;

/* update context item */
conitem->update();

Expand Down
7 changes: 7 additions & 0 deletions src/mainwindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,13 @@ class MainWindow : public QMainWindow
QString target_version_string;

QList<unsigned long int> selectedMarkerRows;

/**/
SortFilterProxyModel *sortProxyModel;

//values to carry the logLevel and traceStatus : Edit All Log Levels
int logLevel = 0;
int traceStatus = 0;

/* functions called in constructor */
void initState();
Expand Down