mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
Bug IPAL19465 - QT4 porting: crash creating add.hypothesis
This commit is contained in:
parent
39b202e1bb
commit
eebb1370b2
@ -268,7 +268,7 @@ void SMESHGUI_MeshTab::onCreateHyp()
|
|||||||
QMenu aPopup( this );
|
QMenu aPopup( this );
|
||||||
|
|
||||||
QStringList aHypNames = isMainHyp ?
|
QStringList aHypNames = isMainHyp ?
|
||||||
myAvailableHyps[ MainHyp ] : aHypNames = myAvailableHyps[ AddHyp ];
|
myAvailableHyps[ MainHyp ] : myAvailableHyps[ AddHyp ];
|
||||||
|
|
||||||
QList<QAction*> actions;
|
QList<QAction*> actions;
|
||||||
for ( int i = 0, n = aHypNames.count(); i < n; i++ )
|
for ( int i = 0, n = aHypNames.count(); i < n; i++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user