Added a null reference check for selectedDVI on the tc_PanelTabDisplay() function.

Added logic to skip the checks for changed integrated graphics (figures) when the RO database has none.
This commit is contained in:
2016-08-03 18:52:14 +00:00
parent 56ab02c3f7
commit ac47021609
2 changed files with 15 additions and 9 deletions

View File

@@ -2889,6 +2889,7 @@ namespace VEPROMS
}
private void tc_PanelTabDisplay(object sender, StepPanelTabDisplayEventArgs args)
{
if (_SelectedDVI == null) return;
if (args.PanelTabName == "Bookmarks")
{
toolsPanel.Expanded = true;