New Enhanced Document Properties
Fixed Find and Replace logic to keep it from getting into an infinite loop Used new CSLA code to hanndle deletion of procedures with external transitions New Enhanced Document properties
This commit is contained in:
@@ -455,8 +455,7 @@ namespace Volian.Controls.Library
|
||||
if (!readOnlyStep)
|
||||
{
|
||||
StepConfig sc = new StepConfig(MyItemInfo.MyContent.Config);
|
||||
//if (IsDerived(sc))
|
||||
if (sc.Step_BackgroundToSource != null || sc.Step_DeviationToSource != null)
|
||||
if (IsDerived(sc))
|
||||
readOnlyStep = true;
|
||||
}
|
||||
ReadOnly = readOnlyStep || VwMode == E_ViewMode.View || ActiveMode == false;
|
||||
@@ -542,13 +541,13 @@ namespace Volian.Controls.Library
|
||||
|
||||
AdjustSizeForContents(!ActiveMode);
|
||||
}
|
||||
// private bool IsDerived(StepConfig sc)
|
||||
// {
|
||||
// foreach (EnhancedDocument ed in sc.MyEnhancedDocuments)
|
||||
// if (ed.Type == 0) //New Design
|
||||
// return true;
|
||||
// return false;
|
||||
// }
|
||||
private bool IsDerived(StepConfig sc)
|
||||
{
|
||||
foreach (EnhancedDocument ed in sc.MyEnhancedDocuments)
|
||||
if (ed.Type == 0) //New Design
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
private bool _ProcessKeystrokes = true;
|
||||
public bool ProcessKeystrokes
|
||||
{
|
||||
|
Reference in New Issue
Block a user