This commit is contained in:
parent
3a49176ee3
commit
66e7690661
@ -231,6 +231,7 @@ namespace Volian.Controls.Library
|
||||
string beforeRO = StaticStripRtfCommands(text.Substring(0, g.Index));
|
||||
string afterRO = StaticStripRtfCommands(text.Substring(g.Index + g.Length));
|
||||
string newvalue = DoROFormatFlags(g.ToString(), beforeRO, afterRO);
|
||||
newvalue = newvalue.Replace(" ", @"\u160?");
|
||||
if (g.ToString() != newvalue)
|
||||
text = text.Substring(0, g.Index) + newvalue + text.Substring(g.Index + g.Length);
|
||||
}
|
||||
|
@ -125,7 +125,7 @@ namespace Volian.Print.Library
|
||||
set
|
||||
{
|
||||
_MySection = value;
|
||||
MySectionTitle = (_MySection.DisplayNumber == null ? "" : _MySection.DisplayNumber + " - ") + _MySection.DisplayText;
|
||||
MySectionTitle = ((_MySection.DisplayNumber ?? "")=="" ? "" : _MySection.DisplayNumber + " - ") + _MySection.DisplayText;
|
||||
MySvg = BuildSvg(_MySection);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user