diff --git a/lib/screens/editor/building.dart b/lib/screens/editor/building.dart index 34ec3bac..b4ee42a2 100644 --- a/lib/screens/editor/building.dart +++ b/lib/screens/editor/building.dart @@ -379,7 +379,9 @@ class _BuildingEditorPaneState extends ConsumerState { }, child: Text(loc.buildingMoreButton.toUpperCase() + '...'), ), - if (false && !building.deleted && widget.building != null) + if (!building.deleted && + widget.building != null && + building.canDelete) TextButton( child: Text(loc.editorDeleteButton.toUpperCase()), onPressed: () async {