X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=829c95e994e2691db500fdbdfa5706be3352921e;hp=9995e50ac2ef42650ba4d904a3d7b70c287336ff;hb=2445d0b3d64ab051d8a686506910224f9f4e45c7;hpb=07dcf5615620315f4eda91a930b8540e64b625f2 diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 9995e50a..829c95e9 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -311,8 +311,9 @@ void MainWindow::update_device_list( } 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); - _session.set_device(selected_device); } }