cec-config-gui: make the progress bar invisible when done. disable the physical addre...
[deb_libcec.git] / src / cec-config-gui / actions / UpdateConnectedDevice.cs
index 46e9f0c3846ccae89a4374e4b20ba2e6f61beab9..c91358ebbc9ca2dea206b2be1b942cfe7c27a198 100644 (file)
@@ -42,9 +42,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);