Add an autofill !hint_location for clicking on a Missing: line, when user uses !missing.

This commit is contained in:
CaitSith2 2022-02-08 14:29:24 -08:00
parent aac8ca97ed
commit ee5ea09cbc
1 changed files with 2 additions and 0 deletions

View File

@ -186,6 +186,8 @@ class SelectableLabel(RecycleDataViewBehavior, Label):
"? (")
cmdinput.text = f"!{App.get_running_app().last_autofillable_command} {name}"
break
elif not cmdinput.text and text.startswith("Missing: "):
cmdinput.text = text.replace("Missing: ", "!hint_location ")
Clipboard.copy(text)
return self.parent.select_with_touch(self.index, touch)