X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fstoresession.cpp;h=221804c40baaf07721f7c229704f5cae072f1ca4;hp=f6fef4635c630fadcb772c14e1013b96c2d61a17;hb=4ce6b5e7eb467a2897e1fa0e05fd572a07d2592b;hpb=2b81ae4682ade4109ffa442794de36ceb32045eb diff --git a/pv/storesession.cpp b/pv/storesession.cpp index f6fef463..221804c4 100644 --- a/pv/storesession.cpp +++ b/pv/storesession.cpp @@ -198,6 +198,9 @@ void StoreSession::store_proc(shared_ptr snapshot) units_stored_ = start_sample >> progress_scale; } + // Zeroing the progress variables indicates completion + units_stored_ = unit_count_ = 0; + progress_updated(); output_.reset();