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:
parent
f276dedd42
commit
549761d01a
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user