repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd09ec0
)
cec-config-gui: don't enable the 'connected device' selection when there's only one...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 14 Feb 2012 11:01:53 +0000
(12:01 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Tue, 14 Feb 2012 11:01:53 +0000
(12:01 +0100)
src/cec-config-gui/CecConfigGUI.cs
patch
|
blob
|
blame
|
history
diff --git
a/src/cec-config-gui/CecConfigGUI.cs
b/src/cec-config-gui/CecConfigGUI.cs
index 979e59ba9b9b3fd0816bc047f51d9bda8dff301a..f2a4760196bb841524db88128b11072e5924bd74 100644
(file)
--- a/
src/cec-config-gui/CecConfigGUI.cs
+++ b/
src/cec-config-gui/CecConfigGUI.cs
@@
-113,7
+113,7
@@
namespace CecConfigGui
private void SetControlsEnabled(bool val)
{
SetControlEnabled(cbPortNumber, val);
- SetControlEnabled(cbConnectedDevice,
val
);
+ SetControlEnabled(cbConnectedDevice,
cbConnectedDevice.Items.Count > 1 ? val : false
);
SetControlEnabled(tbPhysicalAddress, val);
SetControlEnabled(cbDeviceType, val);
SetControlEnabled(cbUseTVMenuLanguage, val);