Skip to content

Commit

Permalink
Manager: Updated empty menu item text check
Browse files Browse the repository at this point in the history
  • Loading branch information
Linkaaaaa committed May 1, 2024
1 parent 32b570a commit 7cd618d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArcdpsLogManager/Sections/LogList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ private ContextMenu ConstructLogGridViewContextMenu(GridView<LogData> gridView)

if (Abbreviations.TryGetValue(menuItem.Text, out string fullName))
{
menuItem.Text = string.IsNullOrEmpty(menuItem.Text) || string.IsNullOrWhiteSpace(menuItem.Text) ? $"{fullName}" : $"{menuItem.Text} ({fullName})";
menuItem.Text = string.IsNullOrWhiteSpace(menuItem.Text) ? $"{fullName}" : $"{menuItem.Text} ({fullName})";
}

menuItem.CheckedChanged += (item, args) =>
Expand Down

0 comments on commit 7cd618d

Please sign in to comment.