This commit is contained in:
@@ -1056,6 +1056,7 @@ namespace Volian.Controls.Library
|
||||
cmbResultsStyle.SelectedIndex = 3; // display step text in results
|
||||
}
|
||||
}
|
||||
AddMessageForEmptyAnnotations();
|
||||
DisplayResults();
|
||||
if (SearchResults != null && SearchResults.Count == 0)
|
||||
{
|
||||
@@ -1077,6 +1078,12 @@ namespace Volian.Controls.Library
|
||||
// MessageBox.Show(string.Format("{0} Milliseconds", TimeSpan.FromTicks(DateTime.Now.Ticks - start.Ticks).TotalMilliseconds));
|
||||
}
|
||||
|
||||
private void AddMessageForEmptyAnnotations()
|
||||
{
|
||||
foreach (ItemInfo ii in SearchResults)
|
||||
if (ii.SearchAnnotationText == null) ii.SearchAnnotationText = "None - [" + ii.DisplayText + "]";
|
||||
}
|
||||
|
||||
private void cbxTextSearchText_Leave(object sender, EventArgs e)
|
||||
{
|
||||
InsertSearchCriteria();
|
||||
|
Reference in New Issue
Block a user