@@ -104,7 +104,6 @@ public FormMain()
104
104
VdwConfigurationSettings . TemplatePath = VdwConfigurationSettings . ActiveEnvironment . templatePath ;
105
105
textBoxTemplatePath . Text = VdwConfigurationSettings . TemplatePath ;
106
106
107
-
108
107
// Load the configuration and connection information from file, based on the selected environment and input path.
109
108
VdwUtility . LoadTeamConnectionsFileForVdw ( VdwConfigurationSettings . ActiveEnvironment . environmentKey ) ;
110
109
VdwUtility . LoadTeamConfigurationFileForVdw ( VdwConfigurationSettings . ActiveEnvironment . environmentKey ) ;
@@ -1473,26 +1472,26 @@ private void comboBoxEnvironments_SelectedIndexChanged(object sender, EventArgs
1473
1472
VdwConfigurationSettings . TeamSelectedEnvironmentInternalId = selectedEnvironment . Value . environmentInternalId ;
1474
1473
VdwConfigurationSettings . ActiveEnvironment = selectedEnvironment . Value ;
1475
1474
1476
- if ( startUpIndicator != true )
1477
- {
1478
- // Reload the configuration and connections file associated with this new environment.
1479
- VdwUtility . LoadTeamConnectionsFileForVdw ( VdwConfigurationSettings . ActiveEnvironment . environmentKey ) ;
1480
- VdwUtility . LoadTeamConfigurationFileForVdw ( VdwConfigurationSettings . ActiveEnvironment . environmentKey ) ;
1481
-
1482
- richTextBoxInformationMain . AppendText ( $ "The '{ VdwConfigurationSettings . ActiveEnvironment . environmentKey } ' environment is now active.\r \n ") ;
1483
- }
1484
-
1485
1475
// Set any screen controls with the correct value.
1486
1476
textBoxTeamConfigurationPath . Text = VdwConfigurationSettings . ActiveEnvironment . configurationPath ;
1487
1477
textBoxMetadataPath . Text = VdwConfigurationSettings . ActiveEnvironment . metadataPath ;
1488
1478
textBoxOutputPath . Text = VdwConfigurationSettings . ActiveEnvironment . outputPath ;
1489
1479
textBoxTemplatePath . Text = VdwConfigurationSettings . ActiveEnvironment . templatePath ;
1490
1480
1491
1481
VdwConfigurationSettings . TeamConfigurationPath = VdwConfigurationSettings . ActiveEnvironment . configurationPath ;
1482
+ VdwConfigurationSettings . TeamConnectionsPath = VdwConfigurationSettings . ActiveEnvironment . configurationPath ;
1492
1483
VdwConfigurationSettings . VdwMetadatPath = VdwConfigurationSettings . ActiveEnvironment . metadataPath ;
1493
1484
VdwConfigurationSettings . TemplatePath = VdwConfigurationSettings . ActiveEnvironment . templatePath ;
1494
1485
VdwConfigurationSettings . VdwOutputPath = VdwConfigurationSettings . ActiveEnvironment . outputPath ;
1495
1486
1487
+ if ( startUpIndicator != true )
1488
+ {
1489
+ // Reload the configuration and connections file associated with this new environment.
1490
+ VdwUtility . LoadTeamConnectionsFileForVdw ( VdwConfigurationSettings . ActiveEnvironment . environmentKey ) ;
1491
+ VdwUtility . LoadTeamConfigurationFileForVdw ( VdwConfigurationSettings . ActiveEnvironment . environmentKey ) ;
1492
+
1493
+ richTextBoxInformationMain . AppendText ( $ "The '{ VdwConfigurationSettings . ActiveEnvironment . environmentKey } ' environment is now active.\r \n ") ;
1494
+ }
1496
1495
// Ensure the template overview is updated.
1497
1496
RefreshTemplateGrid ( ) ;
1498
1497
}
0 commit comments