display projects for problems
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Godot;
|
||||
using R3;
|
||||
using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence;
|
||||
|
||||
namespace SharpIDE.Godot.Features.Problems;
|
||||
@@ -10,5 +11,9 @@ public partial class ProblemsPanelProjectEntry : MarginContainer
|
||||
public override void _Ready()
|
||||
{
|
||||
GetNode<Label>("Label").Text = Project?.Name ?? "NULL";
|
||||
if (Project is null) return;
|
||||
Observable.EveryValueChanged(this, s => s.Project.Diagnostics.Count)
|
||||
.Subscribe(s => Visible = s is not 0);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user