Main window listview focus workaround so ctrl + v etc. can work

This commit is contained in:
Jaex 2015-07-08 11:42:12 +03:00
parent 87790e404e
commit 9f8c6e112e

View file

@ -1119,7 +1119,11 @@ private void tsbDonate_Click(object sender, EventArgs e)
private void lblDragAndDropTip_MouseUp(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
if (e.Button == MouseButtons.Left)
{
lvUploads.Focus();
}
else if (e.Button == MouseButtons.Right)
{
UpdateControls();
cmsTaskInfo.Show((Control)sender, e.X + 1, e.Y + 1);