- show info messages even if they're the same

as the last one after being closed.
- fix a test now that everything is one line lower
This commit is contained in:
Benjamin Popp
2019-04-16 15:10:39 -05:00
parent 43477eb4b8
commit e1a378643a
2 changed files with 3 additions and 1 deletions

View File

@@ -129,6 +129,8 @@ namespace HavenSoft.HexManiac.Core.ViewModels {
gotoViewModel.ControlVisible = false;
FindControlVisible = false;
ShowError = false;
} else {
infoMessage = string.Empty;
}
if (TryUpdate(ref showMessage, value)) clearMessage.CanExecuteChanged.Invoke(clearMessage, EventArgs.Empty);
}

View File

@@ -343,7 +343,7 @@ namespace HavenSoft.HexManiac.Tests {
editor.Find.Execute("This is the song");
var resultsTab = (IViewPort)editor[editor.SelectedIndex];
resultsTab.FollowLink(0, 0);
resultsTab.FollowLink(0, 1);
Assert.NotEqual(viewPort.SelectionStart, viewPort.SelectionEnd);
}