diff --git a/src/core/layers/duplicate_action.py b/src/core/layers/duplicate_action.py index d76bc88e..62591303 100644 --- a/src/core/layers/duplicate_action.py +++ b/src/core/layers/duplicate_action.py @@ -93,7 +93,7 @@ def __init__( self.HEffortLayout.addWidget(self.effortComboBox) self.VLayout.addLayout(self.HEffortLayout) - self.updateGeometry() + self.updateGeometry() self.HBottomLayout = QHBoxLayout() self.HBottomLayout.addWidget(self.cancelButton) diff --git a/src/core/layers/followers.py b/src/core/layers/followers.py index 08e2d952..7dec9deb 100644 --- a/src/core/layers/followers.py +++ b/src/core/layers/followers.py @@ -27,7 +27,7 @@ class SammoFollowersLayer(SammoLayer): def __init__(self, db: SammoDataBase, observersLayer, speciesLayer): - super().__init__(db, FOLLOWERS_TABLE, "Followers", True) + super().__init__(db, FOLLOWERS_TABLE, "Followers", True, True) self.observersLayer = observersLayer self.speciesLayer = speciesLayer diff --git a/src/core/session.py b/src/core/session.py index c0cf2866..cd4b9640 100644 --- a/src/core/session.py +++ b/src/core/session.py @@ -261,6 +261,7 @@ def init(self, directory: str, load: bool = True) -> None: self._sightingsLayer.addDuplicateAction(self.sightingsLayer) self.followersLayer.actions().clearActions() self._followersLayer.addSoundAction(self.followersLayer) + self._sightingsLayer.addDuplicateAction(self.followersLayer) QgsSettings().setValue("qgis/enableMacros", "SessionOnly") self.environmentLayer.attributeValueChanged.connect( self.updateRouteTypeStatus diff --git a/src/gui/ui/follower.ui b/src/gui/ui/follower.ui index 57335285..93b72db8 100644 --- a/src/gui/ui/follower.ui +++ b/src/gui/ui/follower.ui @@ -6,8 +6,8 @@ 0 0 - 689 - 428 + 1100 + 450