fix: The file save path is not displaying the updated location after it has changed.

This commit is contained in:
dreamsourcelabTAI 2024-06-14 10:39:58 +08:00
parent 831fbe5466
commit 98734a5727

View File

@ -392,14 +392,14 @@ void StoreProgress::on_change_file()
if (file != "")
{
_fileLab->setText(file);
#ifdef _WIN32
_file_path = file;
QTimer::singleShot(0, this, [this](){
QTimer::singleShot(300, this, [this](){
_fileLab->setText(_file_path);
});
#else
_fileLab->setText(file);
});
#endif
if (_ckOrigin != NULL){