projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0867f
)
Stop capture before connecting to a device
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Wed, 1 May 2013 21:33:31 +0000
(22:33 +0100)
committer
Bert Vermeulen
<bert@biot.com>
Wed, 1 May 2013 21:47:21 +0000
(23:47 +0200)
pv/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index dcbaf1812ab268765e626d69f5c280042c6ff65e..97abbf8eff8926bd0d6fe46c6e5624760250ce6f 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-278,6
+278,9
@@
void MainWindow::on_actionOpen_triggered()
void MainWindow::on_actionConnect_triggered()
{
+ // Stop any currently running capture session
+ _session.stop_capture();
+
dialogs::Connect dlg(this, _device_manager);
// If the user selected a device, select it in the device list. Select the