2
0
forked from Ivasoft/DSView

fix: if the sample count is large, can't save data with cursor

This commit is contained in:
dreamsourcelabTAI
2024-05-24 16:28:07 +08:00
parent 88965967b9
commit 349a31d700

View File

@@ -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);
});