mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Add an autofill !hint_location for clicking on a Missing: line, when user uses !missing.
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user