mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Hide empty partially matched list (fixes #800)
This commit is contained in:
@@ -138,6 +138,7 @@
|
||||
- Clean up unused disabled warnings
|
||||
- Missed one
|
||||
- Minor UI changes
|
||||
- Hide empty partially matched list
|
||||
|
||||
### 3.2.4 (2024-11-24)
|
||||
|
||||
|
||||
@@ -207,7 +207,7 @@ namespace MPF.UI.Windows
|
||||
|
||||
if (submissionInfo.FullyMatchedID == null)
|
||||
FullyMatchedID!.Visibility = Visibility.Collapsed;
|
||||
if (submissionInfo.PartiallyMatchedIDs == null)
|
||||
if (submissionInfo.PartiallyMatchedIDs == null || submissionInfo.PartiallyMatchedIDs.Count == 0)
|
||||
PartiallyMatchedIDs!.Visibility = Visibility.Collapsed;
|
||||
else
|
||||
PartiallyMatchedIDs!.Text = string.Join(", ", [.. submissionInfo.PartiallyMatchedIDs.ConvertAll(i => i.ToString())]);
|
||||
|
||||
Reference in New Issue
Block a user