mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 13:00:36 +05:00
Fixing of IPAL19489 (QT4 porting: loading pattern is impossible).
This commit is contained in:
parent
119fd18e76
commit
a0733b3b36
@ -790,7 +790,7 @@ void SMESHGUI_MeshPatternDlg::onOpen()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QByteArray aDataArray = aFile.readAll();
|
QByteArray aDataArray = aFile.readAll();
|
||||||
if (aDataArray.size() > 0) {
|
if (aDataArray.isEmpty()) {
|
||||||
SUIT_MessageBox::information(this, tr("SMESH_ERROR"),
|
SUIT_MessageBox::information(this, tr("SMESH_ERROR"),
|
||||||
tr("ERROR_OF_READING"));
|
tr("ERROR_OF_READING"));
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user