B2017-045: Allow copy of enhanced step pasted to non-enhanced section removing enhanced link data
This commit is contained in:
1 parent
88383ec87f
commit
95f4767651
3 files changed
+22
-5
No files matched your search
@@ -1681,11 +1681,6 @@ namespace Volian.Controls.Library
|
||||
if (stepToCfg.MyEnhancedDocuments != null && stepToCfg.MyEnhancedDocuments.Count > 0 && stepToCfg.MyEnhancedDocuments[0].Type != 0) toSourceHasEnhancedLinks = true;
|
||||
}
|
||||
}
|
||||
if ((!MyItemInfo.IsEnhancedSection && !MyItemInfo.IsEnhancedStep && !toSourceHasEnhancedLinks) && fromSourceHasEnhancedLinks)
|
||||
{
|
||||
SetPasteButtons(false);
|
||||
return;
|
||||
}
|
||||
// enhanced: if 'from' step is not enhanced, only allow paste before/after
|
||||
if (MyItemInfo.IsHigh && !MyItemInfo.IsEnhancedStep)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user