Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Commit 843e4f9

Browse files
committed
Rename local variable
1 parent 7757982 commit 843e4f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/InvvardDev.EZLayoutDisplay.Desktop/ViewModel/DisplayLayoutViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,15 +332,15 @@ private async Task PopulateLayoutTemplates(string geometry)
332332
{
333333
Logger.TraceMethod();
334334

335-
foreach (var t in _ezLayout.EZLayers)
335+
foreach (var ezLayer in _ezLayout.EZLayers)
336336
{
337337
if (!(await LoadLayoutDefinition(geometry) is List<KeyTemplate> layoutTemplate)) break;
338338

339339
if (layoutTemplate.Count == 0) return;
340340

341341
for (int j = 0 ; j < layoutTemplate.Count ; j++)
342342
{
343-
layoutTemplate[j].EZKey = t.EZKeys[j];
343+
layoutTemplate[j].EZKey = ezLayer.EZKeys[j];
344344
}
345345

346346
_layoutTemplates.Add(layoutTemplate);

0 commit comments

Comments
 (0)