]> sigrok.org Git - pulseview.git/commitdiff
Removed a redundant call to SigSession::set_device
authorJoel Holdsworth <redacted>
Sat, 22 Feb 2014 17:24:21 +0000 (17:24 +0000)
committerJoel Holdsworth <redacted>
Sat, 1 Mar 2014 11:02:11 +0000 (11:02 +0000)
pv/mainwindow.cpp

index 9995e50ac2ef42650ba4d904a3d7b70c287336ff..829c95e994e2691db500fdbdfa5706be3352921e 100644 (file)
@@ -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);
        }
 }