Added discard() method to HashDbConfigPanel

This commit is contained in:
Richard Cordovano 2013-11-08 16:17:58 -05:00
parent 5cb0dcaf75
commit aa74566678

View File

@ -211,6 +211,10 @@ public final class HashDbConfigPanel extends javax.swing.JPanel implements Optio
hashSetManager.save();
}
public void discard() {
HashDbManager.getInstance().loadLastSavedConfiguration();
}
/**
* Removes a list of HashDbs from the dialog panel that do not have a companion -md5.idx file.
* Occurs when user clicks "No" to the dialog popup box.