projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117ef00
)
Remove all decoder traces when loading a file
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Wed, 25 Dec 2013 19:26:44 +0000
(19:26 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Wed, 25 Dec 2013 19:26:44 +0000
(19:26 +0000)
pv/sigsession.cpp
patch
|
blob
|
history
diff --git
a/pv/sigsession.cpp
b/pv/sigsession.cpp
index 8936574a4e238c3f9b3fa65afce4a92985bdee8c..3213758ef263894c215cc83055849593700aa099 100644
(file)
--- a/
pv/sigsession.cpp
+++ b/
pv/sigsession.cpp
@@
-118,6
+118,7
@@
void SigSession::load_file(const string &name,
sr_dev_inst *const sdi = (sr_dev_inst*)devlist->data;
g_slist_free(devlist);
+ _decode_traces.clear();
update_signals(sdi);
read_sample_rate(sdi);
@@
-132,6
+133,7
@@
void SigSession::load_file(const string &name,
error_handler)))
return;
+ _decode_traces.clear();
update_signals(in->sdi);
read_sample_rate(in->sdi);