Fixed B2014-087: save new text before saving change id config data
This commit is contained in:
parent
4e2cf93fc6
commit
c73453cca0
@ -484,6 +484,7 @@ namespace Volian.Controls.Library
|
|||||||
|
|
||||||
private void tbChgID_TextChanged(object sender, EventArgs e)
|
private void tbChgID_TextChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
MyEditItem.SaveContents();
|
||||||
StepConfig sc = CurItemInfo.MyConfig as StepConfig;
|
StepConfig sc = CurItemInfo.MyConfig as StepConfig;
|
||||||
sc.Step_ChangeID = tbChgID.Text;
|
sc.Step_ChangeID = tbChgID.Text;
|
||||||
}
|
}
|
||||||
|
@ -1428,7 +1428,7 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
rtabInsert.Select();
|
rtabInsert.Select();
|
||||||
if (MyItemInfo.IsProcedure || MyItemInfo.IsSection) return;
|
if (MyItemInfo.IsProcedure || MyItemInfo.IsSection) return;
|
||||||
|
MyEditItem.SaveContents();
|
||||||
// toggle manual page break
|
// toggle manual page break
|
||||||
StepConfig cfg = MyItemInfo.MyConfig as StepConfig;
|
StepConfig cfg = MyItemInfo.MyConfig as StepConfig;
|
||||||
cfg.Step_NewManualPagebreak = !cfg.Step_NewManualPagebreak;
|
cfg.Step_NewManualPagebreak = !cfg.Step_NewManualPagebreak;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user