Show 'Unsupported' in config dialog for monitors without input options
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
bd7a58a5fe
commit
dfec8c07b5
@ -34,6 +34,22 @@ public partial class ConfigWindow : Window
|
||||
spPorts.Children.Clear();
|
||||
_portRows.Clear();
|
||||
|
||||
// Show unsupported message if no ports available
|
||||
if (_availablePorts == null || _availablePorts.Count == 0)
|
||||
{
|
||||
spPorts.Children.Add(new TextBlock
|
||||
{
|
||||
Text = "Unsupported",
|
||||
Foreground = Brushes.Gray,
|
||||
FontSize = 16,
|
||||
FontStyle = FontStyles.Italic,
|
||||
HorizontalAlignment = HorizontalAlignment.Center,
|
||||
VerticalAlignment = VerticalAlignment.Center,
|
||||
Margin = new Thickness(0, 40, 0, 40)
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var port in _availablePorts)
|
||||
{
|
||||
var existingPortConfig = config.Ports.FirstOrDefault(p => p.VcpValue == port.Value);
|
||||
|
||||
@ -13,9 +13,9 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>1.0.15</Version>
|
||||
<AssemblyVersion>1.0.15.0</AssemblyVersion>
|
||||
<FileVersion>1.0.15.0</FileVersion>
|
||||
<Version>1.0.16</Version>
|
||||
<AssemblyVersion>1.0.16.0</AssemblyVersion>
|
||||
<FileVersion>1.0.16.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user