2
0
forked from Ivasoft/DSView

fix: unable to display the new store file path after changed it in windows 10

This commit is contained in:
dreamsourcelabTAI
2024-05-24 15:56:03 +08:00
parent 169617e7b0
commit 88965967b9
2 changed files with 12 additions and 2 deletions

View File

@@ -390,8 +390,17 @@ void StoreProgress::on_change_file()
else
file = _store_session->MakeSaveFile(true);
if (file != ""){
if (file != "")
{
#ifdef _WIN32
_file_path = file;
QTimer::singleShot(0, this, [this](){
_fileLab->setText(_file_path);
});
#else
_fileLab->setText(file);
#endif
if (_ckOrigin != NULL){
bool bFlag = file.endsWith(".csv");

View File

@@ -93,7 +93,8 @@ private:
QComboBox *_end_cursor;
view::View *_view;
bool _is_done;
QTimer m_timer;
QTimer m_timer;
QString _file_path;
};
} // dialogs