C2020-016 – Improved the wording and formatting of the message that appears when you add a subsection to a section that has steps.
This commit is contained in:
parent
e4d6e222de
commit
56ec1f45d7
@ -2504,8 +2504,15 @@ namespace Volian.Controls.Library
|
|||||||
// know that the steps will not be visible after the subsection insert (C2016-042):
|
// know that the steps will not be visible after the subsection insert (C2016-042):
|
||||||
if (_LastItemInfo.Sections == null && _LastItemInfo.Steps != null && _LastItemInfo.Steps.Count > 0)
|
if (_LastItemInfo.Sections == null && _LastItemInfo.Steps != null && _LastItemInfo.Steps.Count > 0)
|
||||||
{
|
{
|
||||||
|
// C2020-016 reformatted and reworded the message.
|
||||||
if (FlexibleMessageBox.Show(this, "Inserting a subsection at this location will cause the steps of this section to become hidden. After inserting the subsection, you will need exit and re-enter PROMS, then select the Editable Data checkbox on the properties page for the section containing the hidden steps in order for the steps to become visible again. Do you want to continue?", "Subsection Insert", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
|
string msgstr =
|
||||||
|
"PROMS will hide the steps in this section when the subsection is created.\n\n" +
|
||||||
|
"If you would like to view or copy these hidden steps you will need to go\n" +
|
||||||
|
"into the properties of this section and check the Editable Data checkbox.\n" +
|
||||||
|
"You will then be able to view and copy those steps. When finished, open\n" +
|
||||||
|
"the properties page again and uncheck the Editable Data checkbox.\n\n"+
|
||||||
|
"Do you want to continue creating the subsection?";
|
||||||
|
if (FlexibleMessageBox.Show(this, msgstr, "Subsection Insert", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user