B2016-260: fix check that determines if step’s content is an equation (including paste buffer)

This commit is contained in:
2016-11-18 13:30:40 +00:00
parent 0f63a782c5
commit 085814045c
3 changed files with 3 additions and 4 deletions

View File

@@ -2081,8 +2081,7 @@ namespace Volian.Controls.Library
try
{
richTextBox1.Paste(frm);
// if (richTextBox1.Rtf.ToUpper().Contains("EQUAT") || richTextBox1.Rtf.ToUpper().Contains("VISIO")) hasEquation = true;
if (richTextBox1.Rtf.ToUpper().Contains("EQUAT")) hasEquation = true;
if (richTextBox1.Rtf.ToUpper().Contains("OBJCLASS EQUATION")) hasEquation = true;
}
catch (Exception ex)
{