mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #644 from MgAl2O4/fix-categoryIndexException
This commit is contained in:
commit
6a8256b827
1 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ namespace Dalamud.Interface.Internal
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets current category.
|
||||
/// Gets or sets current category, index in current Group.Categories array.
|
||||
/// </summary>
|
||||
public int CurrentCategoryIdx
|
||||
{
|
||||
|
|
@ -127,7 +127,7 @@ namespace Dalamud.Interface.Internal
|
|||
(this.currentGroupIdx >= 0) &&
|
||||
(this.currentGroupIdx < this.groupList.Length) &&
|
||||
(this.currentCategoryIdx >= 0) &&
|
||||
(this.currentCategoryIdx < this.categoryList.Length);
|
||||
(this.currentCategoryIdx < this.groupList[this.currentGroupIdx].Categories.Count);
|
||||
|
||||
/// <summary>
|
||||
/// Rebuild available categories based on currently available plugins.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue