added SQL Server name (and if it’s local) and the current database name

fine-tuned our PROMS version string
fixed NULL reference with changing a section number/title on a property page that uses StepRTB
This commit is contained in:
2012-04-13 14:42:53 +00:00
parent 4b68ddca70
commit 84185d3a45
4 changed files with 53 additions and 12 deletions

View File

@@ -179,7 +179,7 @@ namespace Volian.Controls.Library
{
// if we are in view mode or the edit window is empty, then don't allow inserting steps/substeps,
// page breaks, copy step, nor creating a pdf
bool allow = (MyEditItem.MyStepPanel.VwMode != E_ViewMode.View && _MyStepRTB.TextLength > 0);
bool allow = (_MyStepRTB.TextLength > 0);
// turn ribbon items on/off base on whether there is text in the edit window
rbnSiblings.Enabled = rbnBreaks.Enabled = rbnStepParts.Enabled = allow;