X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcec-config-gui%2Factions%2FUpdateConnectedDevice.cs;h=3fb635ba79e598fefc3899d27fc7e4e2f2fce13a;hb=a8559e01ffc0239556097fbbe99f88f663f3fd6f;hp=46e9f0c3846ccae89a4374e4b20ba2e6f61beab9;hpb=006b76b92c05b0f387575962b2851f2ba4a4b569;p=deb_libcec.git diff --git a/src/cec-config-gui/actions/UpdateConnectedDevice.cs b/src/cec-config-gui/actions/UpdateConnectedDevice.cs index 46e9f0c..3fb635b 100644 --- a/src/cec-config-gui/actions/UpdateConnectedDevice.cs +++ b/src/cec-config-gui/actions/UpdateConnectedDevice.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using CecSharp; +using CecSharp; namespace CecConfigGui.actions { @@ -42,9 +39,7 @@ namespace CecConfigGui.actions SendEvent(UpdateEventType.ProgressBar, 75); Lib.GetCurrentConfiguration(config); - SendEvent(UpdateEventType.PhysicalAddress, config.PhysicalAddress); - SendEvent(UpdateEventType.BaseDevice, (int)config.BaseDevice); - SendEvent(UpdateEventType.HDMIPort, config.HDMIPort); + SendEvent(config); SendEvent(UpdateEventType.StatusText, "Ready."); } SendEvent(UpdateEventType.ProgressBar, 100);