projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a redundant call to SigSession::set_device
[pulseview.git]
/
pv
/
mainwindow.cpp
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index 9995e50ac2ef42650ba4d904a3d7b70c287336ff..829c95e994e2691db500fdbdfa5706be3352921e 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-311,8
+311,9
@@
void MainWindow::update_device_list(
}
if (selected_device) {
}
if (selected_device) {
+ // Setting the selected device in the sampling bar, generates
+ // an event which updates the selected device in the SigSession.
_sampling_bar->set_selected_device(selected_device);
_sampling_bar->set_selected_device(selected_device);
- _session.set_device(selected_device);
}
}
}
}