mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
Fix tracker not update when issue lsit is empty
This commit is contained in:
@@ -3851,10 +3851,15 @@ namespace UVtools.GUI
|
||||
void UpdateIssuesList()
|
||||
{
|
||||
flvIssues.ClearObjects();
|
||||
if (!ReferenceEquals(Issues, null))
|
||||
|
||||
if (!ReferenceEquals(Issues, null) && Issues.Count > 0)
|
||||
{
|
||||
flvIssues.SetObjects(Issues);
|
||||
}
|
||||
else
|
||||
{
|
||||
UpdateLayerTrackerHighlightIssues();
|
||||
}
|
||||
|
||||
UpdateIssuesInfo();
|
||||
ShowLayer();
|
||||
@@ -3981,10 +3986,10 @@ namespace UVtools.GUI
|
||||
ComputeIssues(islandConfig, resinTrapConfig, touchingBoundConfig,
|
||||
tsIssuesDetectEmptyLayers.Checked);
|
||||
}
|
||||
|
||||
operation.Issues = Issues;
|
||||
}
|
||||
|
||||
operation.Issues = Issues;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user