Compare commits

..

1 Commits

Author SHA1 Message Date
d95505726f B2026-024 Change bars should not show when updating Applicability. 2026-02-26 13:14:25 -05:00
2 changed files with 6 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ namespace ctlXMLEditLib
public void InsertSymbol( int symbcode) public void InsertSymbol( int symbcode)
{ {
int position = this.SelectionStart; int position = this.SelectionStart;
string sym = symbcode < 256 ? ((char)symbcode).ToString() : string.Format(@"\u{0}", symbcode); string sym = string.Format(symbcode < 256 ? "\'{0:X2}" : @"\u{0}", symbcode);
this.SelectedRtf = RtfPrefixForSymbols + sym + @"}"; this.SelectedRtf = RtfPrefixForSymbols + sym + @"}";
Select(position, -1); Select(position, -1);
Select(position + 1, 0); Select(position + 1, 0);

View File

@@ -4162,8 +4162,11 @@ namespace Volian.Controls.Library
} }
void MyConfig_PropertyChanged(object sender, PropertyChangedEventArgs e) void MyConfig_PropertyChanged(object sender, PropertyChangedEventArgs e)
{ {
SaveConfig(); //B2026-024 Change bars should not show when updating Applicability.
} if (e.PropertyName == "MasterSlave_Applicability") ChangeBarForConfigItemChange = false;
SaveConfig();
if (e.PropertyName == "MasterSlave_Applicability") ChangeBarForConfigItemChange = true;
}
public void SaveConfig() public void SaveConfig()
{ {
if (!MyItemInfo.MyConfig.IsDirty) return; if (!MyItemInfo.MyConfig.IsDirty) return;