Bug IPAL19465 - QT4 porting: crash creating add.hypothesis

This commit is contained in:
ouv 2008-04-11 10:51:22 +00:00
parent 39b202e1bb
commit eebb1370b2

View File

@ -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++ )