Fixed BackColor logic so only one RTB has the active BackColor for a StepPanel
This commit is contained in:
parent
71fb86effb
commit
926d99cfdc
@ -344,7 +344,7 @@ namespace Volian.Controls.Library
|
||||
if (lastRTB != null && lastRTB.BeingDisposed == false)
|
||||
{
|
||||
//_SelectedStepRTB.BackColor = InactiveColor;
|
||||
lastRTB.SetBackColor();
|
||||
//lastRTB.SetBackColor();
|
||||
bool shouldDelete = !lastRTB.MyStepItem.BeingRemoved && lastRTB.Text.Length == 0;
|
||||
if (shouldDelete)
|
||||
{
|
||||
@ -387,6 +387,8 @@ namespace Volian.Controls.Library
|
||||
if (_SelectedItemInfo.ItemID != value.MyItemInfo.ItemID)
|
||||
SelectedItemInfo = value.MyItemInfo;
|
||||
}
|
||||
if(lastRTB != null)
|
||||
lastRTB.SetBackColor();
|
||||
//vlnStackTrace.ShowStack("_DisplayRTB = {0}", _DisplayRTB.MyItem.ItemID);// Show StackTrace
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user