From f679285c2f740d6447d0c5ebb9de2d237466b8f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bellai=20=C3=81d=C3=A1m?= Date: Thu, 5 Oct 2017 07:41:01 +0000 Subject: [PATCH] git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C30535 --- client/Maestro/MaestroForm.Source.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/Maestro/MaestroForm.Source.cs b/client/Maestro/MaestroForm.Source.cs index 852a747e..a044d31b 100644 --- a/client/Maestro/MaestroForm.Source.cs +++ b/client/Maestro/MaestroForm.Source.cs @@ -271,10 +271,10 @@ namespace Maestro { } private void dataGridSource_KeyDown(object sender, KeyEventArgs e) { - //if (e.KeyCode == Keys.Space) { - // var selectedRows = dataGridSource.SelectedRows; - // SetSourceFromCheckBoxAction(selectedRows); - //} + if (e.KeyCode == Keys.Space && dataGridSource.CurrentCell.GetType() != typeof(DataGridViewCheckBoxCell)) { + var selectedRows = dataGridSource.SelectedRows; + SetSourceFromCheckBoxAction(selectedRows); + } } } } -- 2.54.0