mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix nullable usage on displayDescriptionData_Wide (#13805)
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ namespace System.Management.Automation
|
||||
OutOfBand = viewDefinition.outOfBand;
|
||||
GroupBy = PSControlGroupBy.Get(viewDefinition.groupBy);
|
||||
|
||||
AutoSize = widecontrolbody.autosize.HasValue && widecontrolbody.autosize.Value;
|
||||
AutoSize = widecontrolbody.autosize.GetValueOrDefault();
|
||||
Columns = (uint)widecontrolbody.columns;
|
||||
|
||||
Entries.Add(new WideControlEntryItem(widecontrolbody.defaultEntryDefinition));
|
||||
|
||||
Reference in New Issue
Block a user