mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +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()) {
|
if(ruleSet != null && !ruleSet.getPath().toFile().exists()) {
|
||||||
ruleSetDetailsPanel.setRuleSet(null);
|
ruleSetDetailsPanel.setRuleSet(null);
|
||||||
|
ruleSetPanel.removeRuleSet(ruleSet);
|
||||||
JOptionPane.showMessageDialog(this,
|
JOptionPane.showMessageDialog(this,
|
||||||
Bundle.YaraRuleSetOptionPanel_RuleSet_Missing(ruleSet.getName()),
|
Bundle.YaraRuleSetOptionPanel_RuleSet_Missing(ruleSet.getName()),
|
||||||
Bundle.YaraRuleSetOptionPanel_RuleSet_Missing_title(),
|
Bundle.YaraRuleSetOptionPanel_RuleSet_Missing_title(),
|
||||||
JOptionPane.ERROR_MESSAGE);
|
JOptionPane.ERROR_MESSAGE);
|
||||||
}
|
} else {
|
||||||
|
ruleSetDetailsPanel.setRuleSet(ruleSet);
|
||||||
ruleSetDetailsPanel.setRuleSet(ruleSet);
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Messages({
|
@Messages({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user