mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Push Text path
This commit is contained in:
parent
64b3a62dd9
commit
a1789d7bf8
2 changed files with 3 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ namespace Flow.Launcher.Converters
|
|||
{
|
||||
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
if (values.Length != 2)
|
||||
if (values.Length != 3)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@ namespace Flow.Launcher.Converters
|
|||
|
||||
|
||||
// first prop is the current query string
|
||||
var queryText = QueryText.Text;
|
||||
var queryText = (string)values[2];
|
||||
|
||||
if (string.IsNullOrEmpty(queryText))
|
||||
return string.Empty;
|
||||
|
|
|
|||
|
|
@ -163,6 +163,7 @@
|
|||
<MultiBinding Converter="{StaticResource QuerySuggestionBoxConverter}">
|
||||
<Binding ElementName="QueryTextBox" Mode="OneTime" />
|
||||
<Binding ElementName="ResultListBox" Path="SelectedItem" />
|
||||
<Binding ElementName="QueryTextBox" Path="Text" />
|
||||
</MultiBinding>
|
||||
</TextBox.Text>
|
||||
</TextBox>
|
||||
|
|
|
|||
Loading…
Reference in a new issue