mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
Fixed delete issue
This commit is contained in:
parent
d772805500
commit
bc7fd6c850
@ -90,13 +90,14 @@ public class YaraRuleSetOptionPanel extends javax.swing.JPanel {
|
||||
|
||||
if(ruleSet != null && !ruleSet.getPath().toFile().exists()) {
|
||||
ruleSetDetailsPanel.setRuleSet(null);
|
||||
ruleSetPanel.removeRuleSet(ruleSet);
|
||||
JOptionPane.showMessageDialog(this,
|
||||
Bundle.YaraRuleSetOptionPanel_RuleSet_Missing(ruleSet.getName()),
|
||||
Bundle.YaraRuleSetOptionPanel_RuleSet_Missing_title(),
|
||||
JOptionPane.ERROR_MESSAGE);
|
||||
}
|
||||
|
||||
ruleSetDetailsPanel.setRuleSet(ruleSet);
|
||||
} else {
|
||||
ruleSetDetailsPanel.setRuleSet(ruleSet);
|
||||
}
|
||||
}
|
||||
|
||||
@Messages({
|
||||
|
Loading…
x
Reference in New Issue
Block a user