Add an autofill !hint_location for clicking on a Missing: line, when user uses !missing.
This commit is contained in:
parent
aac8ca97ed
commit
ee5ea09cbc
2
kvui.py
2
kvui.py
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue