This commit is contained in:
Kathy Ruffing 2009-07-08 10:53:19 +00:00
parent 1f3a60bc8f
commit 16c18eef17

View File

@ -388,7 +388,7 @@ namespace Volian.Controls.Library
{ {
string linktxt = string.Format(@"#Link:ReferencedObject:<NewID> {0} {1}", roch.roid, _MyROFST.MyRODb.RODbID); string linktxt = string.Format(@"#Link:ReferencedObject:<NewID> {0} {1}", roch.roid, _MyROFST.MyRODb.RODbID);
// Resolve symbols and scientific notation in the RO return value // Resolve symbols and scientific notation in the RO return value
_MyRTB.InsertRO(ConvertSymbolsAndStuff(tbROValue.Text), linktxt); _MyRTB.InsertRO(ConvertSymbolsAndStuff(selectedChld.value), linktxt);
} }
_MyRTB.inRoAdd = false; _MyRTB.inRoAdd = false;
} }
@ -427,7 +427,7 @@ namespace Volian.Controls.Library
errormsg = (replacingRO) ? "a Figure with a non-figure." : "a table into a Figure type."; errormsg = (replacingRO) ? "a Figure with a non-figure." : "a table into a Figure type.";
goodToGo = false; goodToGo = false;
} }
else if (_MyRTB.MyItemInfo.MyContent.Type != 20007) //(!_MyRTB.MyItemInfo.IsTable) // Not in a table substep type else if (!_MyRTB.MyItemInfo.IsTable)
{ {
errormsg = (replacingRO) ? "a non-table RO with a Table RO." : "a table into a non-table type."; errormsg = (replacingRO) ? "a non-table RO with a Table RO." : "a table into a non-table type.";
//TODO: Prompt user to insert a new Table substep type and place this RO into it //TODO: Prompt user to insert a new Table substep type and place this RO into it