This commit is contained in:
parent
f0f719b9f6
commit
09733595f3
@ -297,6 +297,7 @@ namespace Volian.Controls.Library
|
|||||||
get { return _SelectedStepRTB; }
|
get { return _SelectedStepRTB; }
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
|
StepRTB lastRTB = _SelectedStepRTB;
|
||||||
if(value != null)
|
if(value != null)
|
||||||
value.BackColor = ActiveColor; // Set the active color
|
value.BackColor = ActiveColor; // Set the active color
|
||||||
if (_SelectedStepRTB == value) return; // Same - No Change
|
if (_SelectedStepRTB == value) return; // Same - No Change
|
||||||
@ -305,10 +306,17 @@ namespace Volian.Controls.Library
|
|||||||
_SelectedStepRTB.BackColor = InactiveColor;
|
_SelectedStepRTB.BackColor = InactiveColor;
|
||||||
_SelectedStepRTB.SaveText(); // Save any changes to the text
|
_SelectedStepRTB.SaveText(); // Save any changes to the text
|
||||||
_SelectedStepRTB.SaveConfig(); // This may be redundant
|
_SelectedStepRTB.SaveConfig(); // This may be redundant
|
||||||
|
_SelectedStepRTB.RTBFillIn(false);
|
||||||
|
_SelectedStepRTB.ViewRTB = true;
|
||||||
}
|
}
|
||||||
_SelectedStepRTB = value;
|
_SelectedStepRTB = value;
|
||||||
if (value != null && _SelectedItemInfo.ItemID != value.MyItemInfo.ItemID)
|
if (value != null)
|
||||||
SelectedItemInfo = value.MyItemInfo;
|
{
|
||||||
|
_SelectedStepRTB.ViewRTB = false;
|
||||||
|
_SelectedStepRTB.RTBFillIn(true);
|
||||||
|
if (_SelectedItemInfo.ItemID != value.MyItemInfo.ItemID)
|
||||||
|
SelectedItemInfo = value.MyItemInfo;
|
||||||
|
}
|
||||||
//vlnStackTrace.ShowStack("_DisplayRTB = {0}", _DisplayRTB.MyItem.ItemID);// Show StackTrace
|
//vlnStackTrace.ShowStack("_DisplayRTB = {0}", _DisplayRTB.MyItem.ItemID);// Show StackTrace
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user