projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51cf49f
)
StoreSession: Fixed completion mechanism
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 22 Nov 2014 17:13:45 +0000
(17:13 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 22 Nov 2014 17:15:57 +0000
(17:15 +0000)
This fixes bug #451
pv/storesession.cpp
patch
|
blob
|
history
diff --git
a/pv/storesession.cpp
b/pv/storesession.cpp
index f6fef4635c630fadcb772c14e1013b96c2d61a17..221804c40baaf07721f7c229704f5cae072f1ca4 100644
(file)
--- a/
pv/storesession.cpp
+++ b/
pv/storesession.cpp
@@
-198,6
+198,9
@@
void StoreSession::store_proc(shared_ptr<data::LogicSnapshot> snapshot)
units_stored_ = start_sample >> progress_scale;
}
+ // Zeroing the progress variables indicates completion
+ units_stored_ = unit_count_ = 0;
+
progress_updated();
output_.reset();