From ac1649a1d849e8a2358e85c0ba9e17cff4174e70 Mon Sep 17 00:00:00 2001 From: Nathan Woodrow Date: Thu, 27 Sep 2018 15:29:46 +1000 Subject: [PATCH] [FIX] - Fix crash with info dock --- src/roam/infodock.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roam/infodock.py b/src/roam/infodock.py index cb86d96aa..bf1cc30db 100644 --- a/src/roam/infodock.py +++ b/src/roam/infodock.py @@ -377,7 +377,8 @@ def update(self, cursor): self.deleteFeatureButton.setVisible(deletefeature) self.quickInspectButton.setVisible('inspection' in tools) self.editButton.setVisible(editattributes) - geom = cursor.feature.geometry() + feature = cursor.feature + geom = feature.geometry() geomtype = geom.type() if geomtype == QGis.Polygon and geom.isMultipart(): editgeom = False