Skip to content

Commit

Permalink
Fix form preview loading
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Aug 21, 2015
1 parent a75ef3e commit ab56fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/roam/api/featureform.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def bindvalues(self, values, update=False):
utils.debug("Can't find control for field {}. Ignoring".format(field))

self.validateall()
if self.geomwidget:
if self.geomwidget and self.feature:
self.geomwidget.set_geometry(self.feature.geometry())

def bind_feature(self, feature):
Expand Down

0 comments on commit ab56fcb

Please sign in to comment.