Revision: 544
Author:
mattias....@gmail.com
Date: Sat Feb 7 13:34:28 2015 UTC
Log: Fixed bug where name and address placeholders where displayed
even though no camera existed.
https://code.google.com/p/axis-camera-mpplugin/source/detail?r=544
Modified:
/trunk/Source/AxisCameras/SetupForm.cs
=======================================
--- /trunk/Source/AxisCameras/SetupForm.cs Sun Jan 18 21:12:50 2015 UTC
+++ /trunk/Source/AxisCameras/SetupForm.cs Sat Feb 7 13:34:28 2015 UTC
@@ -242,6 +242,9 @@
{
Log.Info("Page loaded");
+ GUIPropertyManager.SetProperty("#
AxisCameras.Camera.Name",
string.Empty);
+ GUIPropertyManager.SetProperty("#AxisCameras.Camera.Address",
string.Empty);
+
// Make sure any cameras have been added
if (cameras.Value.Any())
{