Refs #1700. Fixed: setItemPrototype crash.
Refs #1700. Fixed: setItemPrototype crash.

Setting the item prototype without first adding the collection view to a view would cause a crash, as would reloadContent.

This fix makes sure the collection view doesn't try to tile itself unless it has a frame.

mrcarlberg/cappuccino,primalmotion/cappuccino,deltaprojects/cappuccino,wangshijin/cappuccino,daboe01/cappuccino,cacaodev/cappuccino,enquora/cappuccino,daboe01/cappuccino,krodelin/cappuccino,Dogild/cappuccino,mrcarlberg/cappuccino,krodelin/cappuccino,enquora/cappuccino,Rosch/cappuccino,daboe01/cappuccino,AlexanderMazaletskiy/cappuccino,FrankReh/cappuccino,tancred/cappuccino,mrcarlberg/cappuccino,enquora/cappuccino,Dogild/cappuccino,wangshijin/cappuccino,kidaa/cappuccino,daboe01/cappuccino,Dogild/cappuccino,primalmotion/cappuccino,FrankReh/cappuccino,Dogild/cappuccino,koamac/Cappuccino,mrcarlberg/cappuccino,cappuccino/cappuccino,krodelin/cappuccino,deltaprojects/cappuccino,deltaprojects/cappuccino,FrankReh/cappuccino,Rosch/cappuccino,zittix/cappuccino,zittix/cappuccino,rgv151/cappuccino,Dogild/cappuccino,daboe01/cappuccino,wangshijin/cappuccino,primalmotion/cappuccino,koamac/Cappuccino,cappuccino/cappuccino,Rosch/cappuccino,enquora/cappuccino,krodelin/cappuccino,zittix/cappuccino,deltaprojects/cappuccino,koamac/Cappuccino,cappuccino/cappuccino,cacaodev/cappuccino,cappuccino/cappuccino,mrcarlberg/cappuccino,rgv151/cappuccino,tancred/cappuccino,daboe01/cappuccino,krodelin/cappuccino,wangshijin/cappuccino,wangshijin/cappuccino,enquora/cappuccino,kidaa/cappuccino,deltaprojects/cappuccino,cacaodev/cappuccino,kidaa/cappuccino,Rosch/cappuccino,primalmotion/cappuccino,wangshijin/cappuccino,Rosch/cappuccino,kidaa/cappuccino,FrankReh/cappuccino,zittix/cappuccino,rgv151/cappuccino,deltaprojects/cappuccino,koamac/Cappuccino,cacaodev/cappuccino,krodelin/cappuccino,Rosch/cappuccino,kidaa/cappuccino,Dogild/cappuccino,cacaodev/cappuccino,tancred/cappuccino,AlexanderMazaletskiy/cappuccino,FrankReh/cappuccino,cappuccino/cappuccino,cappuccino/cappuccino,rgv151/cappuccino,AlexanderMazaletskiy/cappuccino,zittix/cappuccino,enquora/cappuccino,tancred/cappuccino,FrankReh/cappuccino,cacaodev/cappuccino,FrankReh/cappuccino,Dogild/cappuccino,daboe01/cappuccino,rgv151/cappuccino,AlexanderMazaletskiy/cappuccino,deltaprojects/cappuccino,kidaa/cappuccino,rgv151/cappuccino,Rosch/cappuccino,zittix/cappuccino,krodelin/cappuccino,primalmotion/cappuccino,cacaodev/cappuccino,primalmotion/cappuccino,rgv151/cappuccino,koamac/Cappuccino,koamac/Cappuccino,zittix/cappuccino,mrcarlberg/cappuccino,tancred/cappuccino,tancred/cappuccino,mrcarlberg/cappuccino,FrankReh/cappuccino,mrcarlberg/cappuccino,AlexanderMazaletskiy/cappuccino,cappuccino/cappuccino,enquora/cappuccino,AlexanderMazaletskiy/cappuccino,primalmotion/cappuccino