Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix crash when does not find pods.

  • Loading branch information...
commit 438c8577635891f17bd9890d88f2a0ebfee3787a 1 parent 4da5f97
Watson authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 PodCreator/PodList.rb
6 PodCreator/PodList.rb
View
@@ -70,8 +70,10 @@ def prepareList(sender)
def selectPods(sender)
obj = arrayController.selectedObjects.first
- delegate.addPod(obj)
- self.window.orderOut(self)
+ if obj
+ delegate.addPod(obj)
+ self.window.orderOut(self)
+ end
end
#----------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.