B2017-039 Allow insert of High Level Step and substep while on an embedded image sub-step.
This commit is contained in:
parent
36ed82ba43
commit
41bc492517
@ -952,7 +952,7 @@ namespace Volian.Controls.Library
|
||||
|
||||
void btnInsStep_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (_MyEditItem.MyStepRTB.Text == "") // Fix B2016-238
|
||||
if (_MyEditItem.MyStepRTB.Text == "" && !(_MyEditItem is ImageItem)) // Fix B2016-238 Fix B2017-139 account for image sub-steps
|
||||
{
|
||||
MessageBox.Show(this, "Cannot insert step from empty step.", "Insert step", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user