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 committed 2013-03-12 15:01:46 +00:00
1 parent 5588328899
commit e063da6198
3 files changed
+12 -5

No files matched your search

+6 -1
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];
}