summaryrefslogtreecommitdiff
path: root/python/examples/triage/files.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/triage/files.py')
-rw-r--r--python/examples/triage/files.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/examples/triage/files.py b/python/examples/triage/files.py
index 1df78dd3..84273657 100644
--- a/python/examples/triage/files.py
+++ b/python/examples/triage/files.py
@@ -1,7 +1,7 @@
import os
from PySide2.QtWidgets import QWidget, QTreeView, QFileSystemModel, QVBoxLayout, QMessageBox, QAbstractItemView
from PySide2.QtGui import QKeySequence
-from PySide2.QtCore import QSettings
+from PySide2.QtCore import QSettings, QDir
from binaryninjaui import UIActionHandler, UIAction, Menu, FileContext, ContextMenuManager, UIContext
from binaryninja.settings import Settings
@@ -20,6 +20,7 @@ class TriageFilePicker(QWidget):
self.model = QFileSystemModel()
self.model.setRootPath("")
+ self.model.setFilter(QDir.AllEntries | QDir.Hidden | QDir.System)
self.tree = QTreeView(self)
self.tree.setModel(self.model)
self.tree.setSelectionMode(QAbstractItemView.ExtendedSelection)