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