From 349a31d7006dcdaa35bd5e9c3f7d241d96ba2186 Mon Sep 17 00:00:00 2001 From: dreamsourcelabTAI Date: Fri, 24 May 2024 16:28:07 +0800 Subject: [PATCH] fix: if the sample count is large, can't save data with cursor --- DSView/pv/dialogs/storeprogress.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DSView/pv/dialogs/storeprogress.cpp b/DSView/pv/dialogs/storeprogress.cpp index 8cb179ad..cfc118b1 100644 --- a/DSView/pv/dialogs/storeprogress.cpp +++ b/DSView/pv/dialogs/storeprogress.cpp @@ -203,7 +203,7 @@ void StoreProgress::accept() return; } - int total_count = _view->session().get_ring_sample_count(); + uint64_t total_count = _view->session().get_ring_sample_count(); if (start_index > total_count && end_index > total_count) { @@ -394,7 +394,7 @@ void StoreProgress::on_change_file() { #ifdef _WIN32 _file_path = file; - + QTimer::singleShot(0, this, [this](){ _fileLab->setText(_file_path); });