mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
Adding left-to-right markers to children count
This commit is contained in:
parent
6e5ccfb025
commit
e4c539232a
@ -75,7 +75,10 @@ class DirectoryTreeFilterNode extends FilterNode {
|
||||
if (file != null) {
|
||||
try {
|
||||
final int numChildren = file.getChildrenCount();
|
||||
name = name + " (" + numChildren + ")";
|
||||
|
||||
// left-to-right marks here are necessary to keep the count and parens together
|
||||
// for mixed right-to-left and left-to-right names
|
||||
name = name + " \u200E(\u200E" + numChildren + ")\u200E";
|
||||
} catch (TskCoreException ex) {
|
||||
logger.log(Level.SEVERE, "Error getting children count to display for file: " + file, ex); //NON-NLS
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user