From: Joel Holdsworth Date: Sat, 22 Feb 2014 17:24:21 +0000 (+0000) Subject: Removed a redundant call to SigSession::set_device X-Git-Tag: pulseview-0.2.0~51 X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=2445d0b3d64ab051d8a686506910224f9f4e45c7 Removed a redundant call to SigSession::set_device --- 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); } }