1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-21 02:37:16 +01:00

fix crash that only seems to happen in unit tests

This commit is contained in:
Vadim Kurland 2010-08-06 01:24:16 +00:00
parent f276dedd42
commit 549761d01a
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 3212
#define BUILD_NUM 3213

View File

@ -852,6 +852,8 @@ void ObjectManipulator::getMenuState(bool haveMoveTargets,
FWObject *current_library = getCurrentLib();
if (getCurrentObjectTree()==NULL) return;
vector<FWObject*> so = getCurrentObjectTree()->getSelectedObjects();
for (vector<FWObject*>::iterator i=so.begin(); i!=so.end(); ++i)
{