This commit is contained in:
@@ -77,7 +77,7 @@ namespace Volian.Controls.Library
|
||||
BuildSymbolGallery(sl, galleryContainerSymbolsCM3);
|
||||
}
|
||||
SetButtonAndMenuEnabling();
|
||||
SetStepButtonAndMenuEnabling();
|
||||
|
||||
_MyLastFormatID = MyItemInfo.ActiveFormat.FormatID;
|
||||
}
|
||||
}
|
||||
@@ -287,9 +287,11 @@ namespace Volian.Controls.Library
|
||||
btnCMEditTran.Enabled = false;
|
||||
btnCMEditRO.Enabled = false;
|
||||
}
|
||||
SetStepButtonAndMenuEnabling();
|
||||
}
|
||||
private void SetStepButtonAndMenuEnabling()
|
||||
{
|
||||
btnInsPgBrk.Checked = false;
|
||||
// see if manual page break - only available on HLS
|
||||
if (MyItemInfo.IsHigh)
|
||||
{
|
||||
@@ -307,6 +309,7 @@ namespace Volian.Controls.Library
|
||||
// if on a procedure or section title, don't allow for insert of ROs or Transitions:
|
||||
// disable buttons. Info panels for ROs and Transitions are made invisible in frmVEPROMS.cs
|
||||
btnInsTrans.Enabled = btnCMTransition.Enabled = btnInsRO.Enabled = btnCMRO.Enabled = false;
|
||||
this.Refresh();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user