From bb16fe284ad19304d800a7d99d9d3b71626268c5 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Tue, 23 Apr 2024 19:05:03 +0200 Subject: [PATCH] Core: make open_filename log that it's asking (#3199) --- Utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utils.py b/Utils.py index 6d446265..a35dbf08 100644 --- a/Utils.py +++ b/Utils.py @@ -619,6 +619,8 @@ def get_fuzzy_results(input_word: str, wordlist: typing.Sequence[str], limit: ty def open_filename(title: str, filetypes: typing.Sequence[typing.Tuple[str, typing.Sequence[str]]], suggest: str = "") \ -> typing.Optional[str]: + logging.info(f"Opening file input dialog for {title}.") + def run(*args: str): return subprocess.run(args, capture_output=True, text=True).stdout.split("\n", 1)[0] or None