Skip to content

Commit e7b5f83

Browse files
committed
Some fix.
1 parent 3833bcc commit e7b5f83

File tree

2 files changed

+35
-17
lines changed

2 files changed

+35
-17
lines changed

QpTestClient/MainForm.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ private void displayInstructions(TreeNode connectionNode, QpInstruction[] instru
248248

249249
private void addConnection(TestConnectionInfo connectionInfo)
250250
{
251+
if (connectionInfo==null)
252+
return;
251253
var connectionNode = treeNodeCollection.Add(connectionInfo.Name, connectionInfo.Name, 0, 0);
252254
connectionNode.Tag = new ConnectionContext(connectionInfo);
253255
connectionNode.ContextMenuStrip = cmsConnection;

QpTestClient/QuickConnectForm.Designer.cs

Lines changed: 33 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)