https://git.useribm.hu
/
mediacube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b3d45c
)
git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
author
Bellai Ádám
<USER\adam.bellai>
Thu, 5 Oct 2017 07:41:01 +0000
(07:41 +0000)
committer
Bellai Ádám
<USER\adam.bellai>
Thu, 5 Oct 2017 07:41:01 +0000
(07:41 +0000)
client/Maestro/MaestroForm.Source.cs
patch
|
blob
|
history
diff --git
a/client/Maestro/MaestroForm.Source.cs
b/client/Maestro/MaestroForm.Source.cs
index 852a747e3ea8cc8cc37f97d2dbdb645b71fdd54e..a044d31bd4f4f89ffffcf574c15e6d051180e966 100644
(file)
--- a/
client/Maestro/MaestroForm.Source.cs
+++ b/
client/Maestro/MaestroForm.Source.cs
@@
-271,10
+271,10
@@
namespace Maestro {
}
\r
\r
private void dataGridSource_KeyDown(object sender, KeyEventArgs e) {
\r
-
//if (e.KeyCode == Keys.Space
) {
\r
-
//
var selectedRows = dataGridSource.SelectedRows;
\r
-
//
SetSourceFromCheckBoxAction(selectedRows);
\r
-
//
}
\r
+
if (e.KeyCode == Keys.Space && dataGridSource.CurrentCell.GetType() != typeof(DataGridViewCheckBoxCell)
) {
\r
+ var selectedRows = dataGridSource.SelectedRows;
\r
+ SetSourceFromCheckBoxAction(selectedRows);
\r
+ }
\r
}
\r
}
\r
}
\r