Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Commit f431ab9

Browse files
author
Peter Witt
committed
Changed so double click only works with left click
1 parent 2a731c7 commit f431ab9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: UnityLauncher/Form1.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ private void gridRecent_KeyDown(object sender, KeyEventArgs e)
743743
//Checks if you are doubleclicking the current cell
744744
private void GridRecent_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
745745
{
746-
if(e.RowIndex == gridRecent.CurrentCell.RowIndex)
746+
if(e.Button == MouseButtons.Left && e.RowIndex == gridRecent.CurrentCell.RowIndex)
747747
{
748748
LaunchSelectedProject();
749749
}

0 commit comments

Comments
 (0)