From: Bellai Ádám Date: Thu, 5 Oct 2017 07:41:01 +0000 (+0000) Subject: git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube... X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=f679285c2f740d6447d0c5ebb9de2d237466b8f9;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C30535 --- 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); + } } } }