C2017-028 Allow sup info off of a table when on an empty table cell
This commit is contained in:
parent
3e6c948285
commit
f3f99b97ad
@ -1026,7 +1026,9 @@ namespace Volian.Controls.Library
|
|||||||
|
|
||||||
void btnInsStep_Click(object sender, EventArgs e)
|
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);
|
MessageBox.Show(this, "Cannot insert step from empty step.", "Insert step", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user