Fix issue with selecting item with an empty view

This commit is contained in:
blitzmann
2017-04-14 21:45:41 -04:00
parent e28bf545e9
commit cca61b8ac1
4 changed files with 4 additions and 4 deletions

View File

@@ -202,7 +202,7 @@ class DroneView(Display):
fit = sFit.getFit(fitID)
if fit.isStructure:
if not fit or fit.isStructure:
return
trigger = sFit.addDrone(fitID, event.itemID)