Skip to content

Commit

Permalink
Merge pull request #152 from SpannerMonkey/develop
Browse files Browse the repository at this point in the history
update gui cs for 1.3.1
  • Loading branch information
ZiwKerman authored Oct 23, 2017
2 parents 47cae8e + c538dd9 commit 5f54289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InfernalRobotics/InfernalRobotics/Gui/EditorCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private void IRCustomFilter()
RUI.Icons.Selectable.Icon icon = new RUI.Icons.Selectable.Icon("Infernal Robotics", texture_off, texture_on);

//Adding our own subcategory to main filter
PartCategorizer.Category filter = PartCategorizer.Instance.filters.Find(f => f.button.categoryName == FILTER_CATEGORY);
PartCategorizer.Category filter = PartCategorizer.Instance.filters.Find(f => f.button.categorydisplayName == "#autoLOC_453547");//change for 1.3.1
PartCategorizer.AddCustomSubcategoryFilter(filter, CUSTOM_CATEGORY_NAME, CUSTOM_CATEGORY_NAME, icon, p => availableParts.Contains(p));

//KSP.UI.UIRadioButton button = filter.button.activeButton;
Expand Down

0 comments on commit 5f54289

Please sign in to comment.