summaryrefslogtreecommitdiff
path: root/python/examples/triage
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2019-08-28 07:28:47 -0400
committerJordan Wiens <jordan@psifertex.com>2019-08-28 07:28:47 -0400
commit7971d55486180e07a8bd3a0741bac7b03b6fe460 (patch)
treed7930a12619533e585a07c42568678759ac9bfde /python/examples/triage
parent8fabefbe22a279f7bc6c2fde72e23a8986dfbe5b (diff)
add preference for showing hidden files in triage
Diffstat (limited to 'python/examples/triage')
-rw-r--r--python/examples/triage/files.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/examples/triage/files.py b/python/examples/triage/files.py
index 05281057..ad8a26cd 100644
--- a/python/examples/triage/files.py
+++ b/python/examples/triage/files.py
@@ -133,6 +133,15 @@ Settings().register_setting("triage.linearSweep", """
}
""")
+Settings().register_setting("triage.hiddenFiles", """
+ {
+ "title" : "Triage Shows Hidden Files",
+ "type" : "boolean",
+ "default" : false,
+ "description" : "Whether the Triage file picker shows hidden files."
+ }
+ """)
+
UIAction.registerAction("Open for Triage...", QKeySequence("Ctrl+Alt+O"))
UIAction.registerAction("Open Selected Files")