This commit is contained in:
1 parent
4ceb9db53a
commit
171f668aaf
4 files changed
+49
-45
No files matched your search
@@ -436,7 +436,11 @@ namespace Volian.Controls.Library
|
||||
btnInsTrans.Enabled = btnCMTransition.Enabled = btnInsRO.Enabled = btnCMRO.Enabled = false;
|
||||
btnInsAftH.Enabled = btnInsBefH.Enabled = false;
|
||||
btnInsHLS.Enabled = (!MyItemInfo.IsStepSection) ? false : true; // allow hls from step section
|
||||
if (btnInsHLS.Enabled) GalleryForSubTypes(MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList.HLS, MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList.HLS, btnInsHLS, (int)E_FromType.Step, btnCMInsHLS, docontextmenus);
|
||||
if (btnInsHLS.Enabled)
|
||||
{
|
||||
btnInsHLS.SubItems.Clear();
|
||||
GalleryForSubTypes(MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList.HLS, MyItemInfo.ActiveFormat.PlantFormat.FormatData.StepDataList.HLS, btnInsHLS, (int)E_FromType.Step, btnCMInsHLS, docontextmenus);
|
||||
}
|
||||
this.Refresh();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user