Skip to content
Snippets Groups Projects
Commit d444e055 authored by tjc's avatar tjc
Browse files

warn about deletion

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@13806 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent b055aae4
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,17 @@ public class FindAndReplace extends JFrame
if(findTextField.getText().equals(""))
JOptionPane.showMessageDialog(FindAndReplace.this,
"No text entered.", "No Text", JOptionPane.WARNING_MESSAGE);
if(deleteQualifier.isSelected())
{
int status = JOptionPane.showConfirmDialog(FindAndReplace.this,
"Delete the matching qualifiers?",
"Delete", JOptionPane.OK_CANCEL_OPTION);
if(status == JOptionPane.CANCEL_OPTION)
return;
}
setCursor(new Cursor(Cursor.WAIT_CURSOR));
Key key = null;
if(selectedKeyButton.isSelected())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment