mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-19 11:07:43 +00:00
5114 don't add cr dependent options when cr disabled
This commit is contained in:
parent
bd84a831f5
commit
2680b9d9f4
@ -89,12 +89,16 @@ final class FileSearchPanel extends javax.swing.JPanel implements ActionListener
|
||||
|
||||
// Set up the grouping attributes
|
||||
for (FileSearch.GroupingAttributeType type : FileSearch.GroupingAttributeType.values()) {
|
||||
groupByCombobox.addItem(type);
|
||||
if (type != GroupingAttributeType.FREQUENCY || EamDb.isEnabled()) {
|
||||
groupByCombobox.addItem(type);
|
||||
}
|
||||
}
|
||||
|
||||
// Set up the file order list
|
||||
for (FileSorter.SortingMethod method : FileSorter.SortingMethod.values()) {
|
||||
orderByCombobox.addItem(method);
|
||||
if (method != SortingMethod.BY_FREQUENCY || EamDb.isEnabled()) {
|
||||
orderByCombobox.addItem(method);
|
||||
}
|
||||
}
|
||||
validateFields();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user