summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-08-01 20:31:46 -0700
committerGravatar wuestholz <unknown>2013-08-01 20:31:46 -0700
commit6625a9607810fb1d76b964109f2f7a8a71d43d04 (patch)
tree9b198c7a82f3ebaf3abf59327fe815fa2cf41556
parent4badfd9a7f180645b902a144f85e432c7b55fb1c (diff)
DafnyExtension: Fixed a minor issue in the error selection.
-rw-r--r--Source/DafnyExtension/ErrorModelTagger.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/DafnyExtension/ErrorModelTagger.cs b/Source/DafnyExtension/ErrorModelTagger.cs
index f02b5bc9..76b0c10d 100644
--- a/Source/DafnyExtension/ErrorModelTagger.cs
+++ b/Source/DafnyExtension/ErrorModelTagger.cs
@@ -229,6 +229,7 @@ namespace DafnyLanguage
// unselect it
var selErr = ertag.Error.SelectedError;
ertag.Error.SelectedError = null;
+ ertag.Error.SelectedStateId = -1;
selErr.Notify();
result.Stroke = Brushes.Crimson;
result.ToolTip = "select error";
@@ -241,6 +242,7 @@ namespace DafnyLanguage
var selErr = ertag.Error.SelectedError;
selErr.Adornment.Stroke = Brushes.Crimson;
selErr.Adornment.ToolTip = "select error";
+ ertag.Error.SelectedStateId = -1;
ertag.Error.SelectedError = null;
selErr.Notify();
}