projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt to new <libsigrokdecode/libsigrokdecode.h> header.
[pulseview.git]
/
pv
/
mainwindow.cpp
diff --git
a/pv/mainwindow.cpp
b/pv/mainwindow.cpp
index dcbaf1812ab268765e626d69f5c280042c6ff65e..7320bf1aa740a488fe014d6e10aac2ba66621aab 100644
(file)
--- a/
pv/mainwindow.cpp
+++ b/
pv/mainwindow.cpp
@@
-19,7
+19,7
@@
*/
#ifdef ENABLE_SIGROKDECODE
*/
#ifdef ENABLE_SIGROKDECODE
-#include <sigrokdecode.h>
+#include <
libsigrokdecode/lib
sigrokdecode.h>
#endif
#include <boost/bind.hpp>
#endif
#include <boost/bind.hpp>
@@
-278,6
+278,9
@@
void MainWindow::on_actionOpen_triggered()
void MainWindow::on_actionConnect_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
dialogs::Connect dlg(this, _device_manager);
// If the user selected a device, select it in the device list. Select the