Change 'set' to private

This commit is contained in:
ivandroly 2015-07-22 06:33:12 +00:00
parent 1038a2929a
commit 7769d6000c
2 changed files with 5 additions and 5 deletions

View File

@ -81,10 +81,10 @@ namespace Nikse.SubtitleEdit.Forms
private class FixItem
{
public string Name { get; set; }
public string Example { get; set; }
public Action Action { get; set; }
public bool DefaultChecked { get; set; }
public string Name { get; private set; }
public string Example { get; private set; }
public Action Action { get; private set; }
public bool DefaultChecked { get; private set; }
public FixItem(string name, string example, Action action, bool selected)
{

View File

@ -624,7 +624,7 @@ namespace Nikse.SubtitleEdit.Forms.Styles
{
string styleName = listViewStyles.SelectedItems[0].Text;
SsaStyle oldStyle = GetSsaStyle(styleName);
SsaStyle style = new SsaStyle(oldStyle); // Copy contructor
var style = new SsaStyle(oldStyle); // Copy contructor
style.Name = string.Format(Configuration.Settings.Language.SubStationAlphaStyles.CopyOfY, styleName);
if (GetSsaStyle(style.Name).LoadedFromHeader)