This commit is contained in:
Kathy Ruffing 2010-01-22 13:59:58 +00:00
parent 7df59aa377
commit 3ef5518f94

View File

@ -332,7 +332,7 @@ namespace Volian.Controls.Library
if(value != null)
value.BackColor = ActiveColor; // Set the active color
if (_SelectedStepRTB == value) return; // Same - No Change
if (_SelectedStepRTB != null)
if (_SelectedStepRTB != null && _SelectedStepRTB.BeingDisposed == false)
{
//_SelectedStepRTB.BackColor = InactiveColor;
_SelectedStepRTB.SetBackColor();
@ -392,7 +392,7 @@ namespace Volian.Controls.Library
/// </summary>
public void ItemShow()
{
if (_SelectedItemInfo != null)
if (_SelectedItemInfo != null && SelectedStepItem.MyStepRTB.BeingDisposed == false)
{
SelectedStepItem.ItemShow();
OnItemSelectedChanged(this, new ItemSelectedChangedEventArgs(SelectedStepItem));