From 530acf191d1bd6081b703a2cbf1aae963213b312 Mon Sep 17 00:00:00 2001 From: Tripp Date: Wed, 25 Nov 2020 13:47:27 -0500 Subject: [PATCH] Fixed an issue with visible item locations being clearable when a item is not marked on them. --- OpenTracker.Models/Sections/VisibleItemSection.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenTracker.Models/Sections/VisibleItemSection.cs b/OpenTracker.Models/Sections/VisibleItemSection.cs index ab2b422b..f46ede0e 100644 --- a/OpenTracker.Models/Sections/VisibleItemSection.cs +++ b/OpenTracker.Models/Sections/VisibleItemSection.cs @@ -200,7 +200,9 @@ private void UpdateAccessible() /// public bool CanBeCleared(bool force) { - return IsAvailable() && (force || Accessibility > AccessibilityLevel.Inspect); + return IsAvailable() && (force || Accessibility > AccessibilityLevel.Inspect + || (Accessibility == AccessibilityLevel.Inspect && + Marking.Mark == MarkType.Unknown)); } ///