B2026-042-Fix-Null-Error-for-Set_At_All_Level-in-the-Applicability-tab-evaluate-having-the-button-grayed-out-for-the-RNO-column-4

This commit is contained in:
2026-05-04 08:48:51 -04:00
parent 90c215d4c1
commit d0cae8c2fc
@@ -394,16 +394,13 @@ namespace Volian.Controls.Library
if (_MyItemInfo != null) if (_MyItemInfo != null)
{ {
if (this.Visible == false) return; if (this.Visible == false) return;
if (_MyItemInfo != null) if (_MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button.
{ {
if (_MyItemInfo.IsRNOPart == true) // Check if step is an RNO disable "Set All To Level" button. btnApplicabilitychg.Enabled = false;
{ }
btnApplicabilitychg.Enabled = false; else
} {
else btnApplicabilitychg.Enabled = true;
{
btnApplicabilitychg.Enabled = true;
}
} }
IItemConfig cfg = _MyItemInfo.MyConfig as IItemConfig; IItemConfig cfg = _MyItemInfo.MyConfig as IItemConfig;
List<int> apples = cfg.MasterSlave_Applicability.GetFlags(); List<int> apples = cfg.MasterSlave_Applicability.GetFlags();