Fixed code to initialize MS Word sections if Document Style does not specify font.

Added code to handle refreshing the Edit Screen when a section is moved.
Added code to refresh the Edit Screen when a section is moved.
This commit is contained in:
Rich
2013-03-12 15:01:46 +00:00
parent 5588328899
commit e063da6198
3 changed files with 12 additions and 5 deletions

View File

@@ -413,7 +413,12 @@ namespace Volian.Controls.Library
ExpandAsNeeded(itemInfo);
if (_SelectedItemInfo == null) _SelectedItemInfo = itemInfo;
//if (!_LookupEditItems.ContainsKey(itemInfo.ItemID)) Reset();
if (!_LookupEditItems.ContainsKey(itemInfo.ItemID)) Reset(itemInfo);
if (itemInfo.Moving)
{
Reset(itemInfo);
itemInfo.Moving = false;
}
else if ( !_LookupEditItems.ContainsKey(itemInfo.ItemID)) Reset(itemInfo);
if (!_LookupEditItems.ContainsKey(itemInfo.ItemID)) return null;
return _LookupEditItems[itemInfo.ItemID];
}