This commit is contained in:
2011-01-07 15:32:36 +00:00
parent c073e06c46
commit 6658006c83

View File

@@ -800,9 +800,9 @@ namespace Volian.Controls.Library
_OpenDocFromSearch = true;
DisplayTabItem dti = _TabControl.OpenItem(_ItemInfo); // open the corresponding procedure text
if (dti.MyDSOTabPanel != null)
dti.MyDSOTabPanel.SearchString = _strSrchText; // this.cbxTextSearchText.Text;
dti.MyDSOTabPanel.SearchString = _strSrchText == null || _strSrchText == "" ? this.cbxTextSearchText.Text : _strSrchText;
if (dti.MyStepTabPanel != null)
dti.MyStepTabPanel.SearchString = _strSrchText; // this.cbxTextSearchText.Text;
dti.MyStepTabPanel.SearchString = _strSrchText == null || _strSrchText == "" ? this.cbxTextSearchText.Text : _strSrchText;
_OpenDocFromSearch = false;
}
}