From 509bcee5403af97a6fa14dabc7790141a1d0b35c Mon Sep 17 00:00:00 2001 From: Morten Christensen Date: Fri, 17 Jan 2014 15:28:53 +0100 Subject: [PATCH] Changing the name of the private field to be more inline with the Property --- src/Umbraco.Core/Models/Macro.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Umbraco.Core/Models/Macro.cs b/src/Umbraco.Core/Models/Macro.cs index 914847aea2..d81f49fc4f 100644 --- a/src/Umbraco.Core/Models/Macro.cs +++ b/src/Umbraco.Core/Models/Macro.cs @@ -107,7 +107,7 @@ namespace Umbraco.Core.Models private bool _dontRender; private string _scriptFile; private string _scriptAssembly; - private string _python; + private string _scriptPath; private string _xslt; private readonly MacroPropertyCollection _properties; private readonly List _addedProperties; @@ -360,14 +360,14 @@ namespace Umbraco.Core.Models [DataMember] public string ScriptPath { - get { return _python; } + get { return _scriptPath; } set { SetPropertyValueAndDetectChanges(o => { - _python = value; - return _python; - }, _python, ScriptPathSelector); + _scriptPath = value; + return _scriptPath; + }, _scriptPath, ScriptPathSelector); } }