C024-039_Button_on_Applicability_Tab_to_change_all_at_same_level_for_setting_the_item_mode-2 #714
@@ -64,7 +64,6 @@ namespace Volian.Controls.Library
|
||||
if (_MyDisplayTabItem.MyStepTabPanel != null)
|
||||
{
|
||||
MyItemInfo = _MyDisplayTabItem.MyStepTabPanel.MyStepPanel.SelectedItemInfo;
|
||||
MyEditItem = MyDisplayTabItem.MyStepTabPanel.MyStepPanel.SelectedEditItem;
|
||||
}
|
||||
|
mschill marked this conversation as resolved
Outdated
|
||||
else
|
||||
{
|
||||
@@ -283,7 +282,6 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
private void BtnApplicabilitychg_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
EditItem topEditItem = MyEditItem;
|
||||
Volian.Base.Library.BigNum MasterSlave_ApplicabilityTmp;
|
||||
StepConfig sc = MyItemInfo.MyConfig as StepConfig;
|
||||
MasterSlave_ApplicabilityTmp = sc.MasterSlave_Applicability;
|
||||
|
mschill marked this conversation as resolved
mschill
commented
Remove commented out code Remove commented out code
|
||||
@@ -291,8 +289,6 @@ namespace Volian.Controls.Library
|
||||
MyEditItem = MyDisplayTabItem.MyStepTabPanel.MyStepPanel.SelectedEditItem;
|
||||
|
mschill marked this conversation as resolved
mschill
commented
Is this still needed? Is this still needed?
plarsen
commented
It was needed in one solution, but no longer needed. It was needed in one solution, but no longer needed.
|
||||
|
||||
ItemInfo startitm = MyItemInfo.FirstSibling;
|
||||
|
mschill marked this conversation as resolved
mschill
commented
Remove commented out code Remove commented out code
|
||||
topEditItem = MyEditItem.MyStepPanel._LookupEditItems[startitm.ItemID];
|
||||
|
||||
while (startitm != null)
|
||||
{
|
||||
StepConfig sc2 = startitm.MyConfig as StepConfig;
|
||||
|
mschill marked this conversation as resolved
mschill
commented
Not sure if I am missing something, but I am not seeing where this is used? -- is topEditItem needed? Not sure if I am missing something, but I am not seeing where this is used? -- is topEditItem needed?
plarsen
commented
Looking over this, it looks like it is not need here. I will remove it. Looking over this, it looks like it is not need here. I will remove it.
|
||||
|
||||
Reference in New Issue
Block a user
Not sure if I am missing something, but I am not seeing where this is used? -- is MyEditItem needed?
Looking over this, it looks like it is not need here. I will remove it.