Merge pull request 'C2025-007 ROEditor - PROMPT to Confirm Deletion' (#494) from C2025-007 into Development

good for testing phase
This commit is contained in:
John Jenko 2025-01-22 13:31:24 -05:00
commit 8fa059c186

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