Make sure find results textbox is marked read-only

This commit is contained in:
baldurk
2015-10-07 20:00:45 +02:00
parent a98e7eb9d6
commit 11286b0f71
+3
View File
@@ -814,6 +814,7 @@ namespace renderdocui.Windows
}
else
{
m_FindResultsDisplay.IsReadOnly = false;
m_FindResultsDisplay.Text = "";
m_FindResultsDisplay.Parent.Show();
}
@@ -881,6 +882,8 @@ namespace renderdocui.Windows
m_FindResultsDisplay.Text += String.Format("{0}Matching lines: {1} Matching files: {2} Total files searched: {3}",
Environment.NewLine, m_FindResults.Count, fileCount, m_Scintillas.Count - (m_DisassemblyView != null ? 1 : 0));
m_FindResultsDisplay.IsReadOnly = true;
}
void findResults_DoubleClick(object sender, EventArgs e)