Skip to content

Commit

Permalink
Merge pull request collin80#593 from projectgus/bugfix/add_signal_wit…
Browse files Browse the repository at this point in the history
…hout_filter_labels

main window: Fix error on "add to a graphing window" if !filter labels
  • Loading branch information
collin80 authored Feb 22, 2023
2 parents a0d734e + 869408f commit 3479e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ void MainWindow::setupSendToLatestGraphWindow()
GraphParams param;
QString signalName = getSignalNameFromPosition(contextMenuPosition);
param.ID = getMessageIDFromPosition(contextMenuPosition);
DBC_MESSAGE *msg = dbcHandler->findMessageForFilter(param.ID, nullptr);
DBC_MESSAGE *msg = dbcHandler->findMessage(param.ID);
if(msg)
{
DBC_SIGNAL *sig = msg->sigHandler->findSignalByName(signalName);
Expand Down

0 comments on commit 3479e29

Please sign in to comment.