mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +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>
|
/// <summary>
|
||||||
/// Gets or sets current category.
|
/// Gets or sets current category, index in current Group.Categories array.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int CurrentCategoryIdx
|
public int CurrentCategoryIdx
|
||||||
{
|
{
|
||||||
|
|
@ -127,7 +127,7 @@ namespace Dalamud.Interface.Internal
|
||||||
(this.currentGroupIdx >= 0) &&
|
(this.currentGroupIdx >= 0) &&
|
||||||
(this.currentGroupIdx < this.groupList.Length) &&
|
(this.currentGroupIdx < this.groupList.Length) &&
|
||||||
(this.currentCategoryIdx >= 0) &&
|
(this.currentCategoryIdx >= 0) &&
|
||||||
(this.currentCategoryIdx < this.categoryList.Length);
|
(this.currentCategoryIdx < this.groupList[this.currentGroupIdx].Categories.Count);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Rebuild available categories based on currently available plugins.
|
/// Rebuild available categories based on currently available plugins.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue