C2025-007 ROEditor - PROMPT to Confirm Deletion #494

Merged
jjenko merged 1 commits from C2025-007 into Development 2025-01-22 13:31:25 -05:00

View File

@ -2397,6 +2397,11 @@ namespace ROEditor
*Delete currently selected RO Group or RO Value
*/
private void menuRODelete_Click(object sender, System.EventArgs e)
{
string msgstr = "It is recommended that you may wish to create a backup zip of your RO folder prior to performing deletions.\n\nAre you sure you wish to delete the selected RO/RO Group?";
DialogResult AnswerYN = MessageBox.Show(msgstr, "Deleting ROs/RO Group", MessageBoxButtons.YesNo);
if (AnswerYN == DialogResult.Yes)
{
bool success = false;
XmlNode nd = (XmlNode)roTreeView.SelectedNode.Tag;
@ -2414,6 +2419,7 @@ namespace ROEditor
roTreeView.Refresh();
}
}
}
/*
* Cut text from current text box to windows clipboard