EXT-3619 : CRASH in xui preview tool when editing an inventory panel
EXT-3619 : CRASH in xui preview tool when editing an inventory panel

Now checking if inventory is usable before checking if views are initialized.

gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm