Improved adding of new Logs to Listview

This commit is contained in:
MaxXor 2015-05-03 13:38:46 +02:00
parent aa24f98f20
commit 7cb3a406ff
1 changed files with 1 additions and 2 deletions

View File

@ -347,8 +347,7 @@ public static void HandleGetLogsResponse(Client client, GetLogsResponse packet)
var file1 = file; var file1 = file;
client.Value.FrmKl.Invoke((MethodInvoker)delegate client.Value.FrmKl.Invoke((MethodInvoker)delegate
{ {
client.Value.FrmKl.lstLogs.Items.Add(new ListViewItem().Text = file1.Name); client.Value.FrmKl.lstLogs.Items.Add(new ListViewItem() { Text = file1.Name });
}); });
} }