Skip to content

Commit

Permalink
[fix] keyboard autocomplete results are not cleared if the search ter…
Browse files Browse the repository at this point in the history
…m is empty
  • Loading branch information
xhaggi committed Nov 15, 2023
1 parent b43b946 commit 2a9b01b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 1080i/DialogKeyboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</control>
<control type="label" id="311">
<description>Dialog Header</description>
<visible>Integer.IsEqual(Container(9010).NumItems,0) | String.IsEmpty(Control.GetLabel(312).index(1))</visible>
<visible>Integer.IsEqual(Container(9010).NumItems,0)</visible>
<posx>118</posx>
<posy>76</posy>
<width>1000</width>
Expand Down
2 changes: 1 addition & 1 deletion 1080i/Includes_Keyboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<expression name="KeyboardHasAutoCompletion">System.HasAddon(plugin.program.autocompletion) + !System.HasHiddenInput</expression>

<variable name="KeyboardAutoCompletionContent">
<value condition="$EXP[KeyboardHasAutoCompletion] + $EXP[KeyboardHasText]">plugin://plugin.program.autocompletion?info=autocomplete&amp;&amp;id=$INFO[Control.GetLabel(312).index(1)]&amp;&amp;limit=4</value>
<value condition="$EXP[KeyboardHasAutoCompletion]">plugin://plugin.program.autocompletion?info=autocomplete&amp;&amp;id=$INFO[Control.GetLabel(312).index(1)]&amp;&amp;limit=4</value>
</variable>

<include name="KeyboardAutoCompletionFontBold">
Expand Down

0 comments on commit 2a9b01b

Please sign in to comment.