diff --git a/DSView/pv/dialogs/storeprogress.cpp b/DSView/pv/dialogs/storeprogress.cpp index ef71479e..8cb179ad 100644 --- a/DSView/pv/dialogs/storeprogress.cpp +++ b/DSView/pv/dialogs/storeprogress.cpp @@ -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"); diff --git a/DSView/pv/dialogs/storeprogress.h b/DSView/pv/dialogs/storeprogress.h index e82a45c5..974039ef 100644 --- a/DSView/pv/dialogs/storeprogress.h +++ b/DSView/pv/dialogs/storeprogress.h @@ -93,7 +93,8 @@ private: QComboBox *_end_cursor; view::View *_view; bool _is_done; - QTimer m_timer; + QTimer m_timer; + QString _file_path; }; } // dialogs