Fixed problem using a dash character in the Title field. Bug Fix : B2012-292, fix the saving of the Title field when creating a new Word section

Added a check for the existence of a temporary word file before trying to create it
Part two of fix for bug B2012-292, don’t delete word section if user deletes the Title text in the step editor
This commit is contained in:
2012-11-05 18:58:13 +00:00
parent ca98dba877
commit 4ed39bda97
3 changed files with 9 additions and 4 deletions

View File

@@ -397,7 +397,7 @@ namespace Volian.Controls.Library
if (lastEI != null && lastEI.BeingDisposed == false)
{
bool shouldDelete = !lastEI.BeingRemoved && lastEI.Empty;
bool shouldDelete = !lastEI.BeingRemoved && lastEI.Empty && (lastEI.MyItemInfo.MyContent.ContentEntryCount <= 0);
if (shouldDelete)
{
if (lastEI.HasChildren)