Skip to content
Browse files

clear node info window correctly

  • Loading branch information...
1 parent 72cd5e4 commit 748d7a49138a681be63d5ccc2f9a5dd960b31db2 @seuffert committed Dec 31, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 XBSlink/Form1.cs
View
4 XBSlink/Form1.cs
@@ -578,6 +578,7 @@ private void engine_stop()
xbs_messages.addInfoMessage("Engine stopped.", xbs_message_sender.GENERAL);
listView_nodes.Items.Clear();
+ treeView_nodeinfo.Nodes.Clear();
NAT.ip_pool.freeAllIPs();
updateNATIPPoolListView();
@@ -591,7 +592,7 @@ private void engine_stop()
button_CloudJoin.Enabled = false;
button_CloudLeave.Enabled = false;
textBox_chatNickname.ReadOnly = false;
- button_reset_settings.Enabled = true;
+ button_reset_settings.Enabled = true;
}
private IPAddress Resolver(string Hostname)
@@ -1302,6 +1303,7 @@ private void textBox_CloudMaxNodes_KeyPress(object sender, KeyPressEventArgs e)
private void button_CloudLeave_Click(object sender, EventArgs e)
{
+ treeView_nodeinfo.Nodes.Clear();
bool ret = cloudlist.LeaveCloud();
if (ret)
{

0 comments on commit 748d7a4

Please sign in to comment.
Something went wrong with that request. Please try again.