导入取消时不弹“无法识别的文件”
This commit is contained in:
parent
532f1ee24f
commit
57dba4a9f7
|
|
@ -1853,6 +1853,8 @@ void QtProjectWidgets::onImportSingleWellLogData()
|
|||
listFiles.append(file_name);
|
||||
QVector<IConvertor*> vConvertor=pManager.GetSupportConvertors(listFiles[0], &DepthProgress);
|
||||
// if (vConvertor.empty()) return ;
|
||||
if (file_name.isEmpty())
|
||||
return;
|
||||
if (vConvertor.empty())
|
||||
{
|
||||
QMessageBox::information(NULL,"无法识别的文件",listFiles[0]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user