From f3f99b97ad4cde201743937d04f9fc1826eebf78 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 11 Jul 2017 13:32:43 +0000 Subject: [PATCH] C2017-028 Allow sup info off of a table when on an empty table cell --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 1d659a5f..de006f43 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1026,7 +1026,9 @@ namespace Volian.Controls.Library void btnInsStep_Click(object sender, EventArgs e) { - if (_MyEditItem.MyStepRTB.Text == "" && !(_MyEditItem is ImageItem)) // Fix B2016-238 Fix B2017-139 account for image sub-steps + // Fix B2016-238 Fix B2017-139 account for image sub-steps + // C2017-028 don't display message if on a table (allow sup info off of a table) + if (_MyEditItem.MyStepRTB.Text == "" && !(_MyEditItem is ImageItem) && !(_MyEditItem is GridItem)) { MessageBox.Show(this, "Cannot insert step from empty step.", "Insert step", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); return;