forked from Ivasoft/DSView
fix: unable to display the new store file path after changed it in windows 10
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -93,7 +93,8 @@ private:
|
||||
QComboBox *_end_cursor;
|
||||
view::View *_view;
|
||||
bool _is_done;
|
||||
QTimer m_timer;
|
||||
QTimer m_timer;
|
||||
QString _file_path;
|
||||
};
|
||||
|
||||
} // dialogs
|
||||
|
||||
Reference in New Issue
Block a user