This commit is contained in:
1 parent
7ff92624f6
commit
7eac3bab45
3 files changed
+10
-26
No files matched your search
@@ -709,6 +709,10 @@ namespace Volian.Controls.Library
|
||||
btnInsBefore.Enabled = btnInsBefH.Enabled = !MyItemInfo.IsRNOPart && (actable & E_AccStep.AddingPrev) > 0;
|
||||
btnInsAfter.Enabled = btnInsAftH.Enabled = !MyItemInfo.IsRNOPart && (actable & E_AccStep.AddingNext) > 0;
|
||||
|
||||
// if this step has a table or figure, disable both of those buttons.
|
||||
if (MyItemInfo.Tables != null && MyItemInfo.Tables.Count > 0)
|
||||
btnInsTable.Enabled = btnInsFig.Enabled = btnCMInsFigure.Enabled = btnCMInsTable.Enabled = false;
|
||||
|
||||
btnInsHLS.SubItems.Clear();
|
||||
btnInsCaut.SubItems.Clear();
|
||||
btnInsNote.SubItems.Clear();
|
||||
|
||||
Reference in new issue
Block a user