mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
fix: The file save path is not displaying the updated location after it has changed.
This commit is contained in:
parent
831fbe5466
commit
98734a5727
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user