mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
update: export dialog
This commit is contained in:
parent
4077e0bf22
commit
fea3636e3c
@ -111,6 +111,12 @@ StoreProgress::~StoreProgress()
|
||||
|
||||
if (file != ""){
|
||||
_fileLab->setText(file);
|
||||
|
||||
if (_ckOrigin != NULL){
|
||||
bool bFlag = file.endsWith(".csv");
|
||||
_ckOrigin->setVisible(bFlag);
|
||||
_ckCompress->setVisible(bFlag);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -225,6 +231,13 @@ void StoreProgress::export_run()
|
||||
setTitle(tr("Exporting..."));
|
||||
QString file = _store_session.MakeExportFile(false);
|
||||
_fileLab->setText(file);
|
||||
|
||||
if (_ckOrigin != NULL){
|
||||
bool bFlag = file.endsWith(".csv");
|
||||
_ckOrigin->setVisible(bFlag);
|
||||
_ckCompress->setVisible(bFlag);
|
||||
}
|
||||
|
||||
show();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user