8000 Removed unnecessary dependency and catch exception when scorlling in … · utPLSQL/utPLSQL-PLSQL-Developer@9590099 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9590099

Browse files
committed
Removed unnecessary dependency and catch exception when scorlling in grid
1 parent 3a2b1f5 commit 9590099

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

PlsqlDeveloperUtPlsqlPlugin/utPLSQL.UI/TestRunnerWindow.cs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,16 @@ private void UpdateTestResult(@event @event)
366366
}
367367

368368
gridResults.Refresh();
369-
var rowIndex = testResults.IndexOf(testResult);
370-
gridResults.FirstDisplayedScrollingRowIndex = rowIndex;
371-
gridResults.Rows[rowIndex].Selected = true;
369+
try
370+
{
371+
var rowIndex = testResults.IndexOf(testResult);
372+
gridResults.FirstDisplayedScrollingRowIndex = rowIndex;
373+
gridResults.Rows[rowIndex].Selected = true;
374+
}
375+
catch
376+
{
377+
// ingore exception that could raise if results are filtered
378+
}
372379
}
373380
}
374381
}

0 commit comments

Comments
 (0)
0