mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove unused properties
This commit is contained in:
parent
15b8747280
commit
09d8cefcef
3 changed files with 2 additions and 9 deletions
|
|
@ -231,9 +231,5 @@ namespace Flow.Launcher.Plugin.WebSearch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string BrowserPath { get; set; }
|
|
||||||
|
|
||||||
public bool OpenInNewBrowser { get; set; } = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,6 @@
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
|
|
||||||
<UserControl.Resources>
|
<UserControl.Resources>
|
||||||
<Style x:Key="BrowserPathBoxStyle" TargetType="TextBox">
|
|
||||||
<Setter Property="Height" Value="28" />
|
|
||||||
<Setter Property="VerticalContentAlignment" Value="Center" />
|
|
||||||
</Style>
|
|
||||||
<DataTemplate x:Key="HeaderTemplateArrowUp">
|
<DataTemplate x:Key="HeaderTemplateArrowUp">
|
||||||
<DockPanel>
|
<DockPanel>
|
||||||
<TextBlock HorizontalAlignment="Center" Text="{Binding}" />
|
<TextBlock HorizontalAlignment="Center" Text="{Binding}" />
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,8 @@ namespace Flow.Launcher.Plugin.WebSearch
|
||||||
var columnBinding = headerClicked.Column.DisplayMemberBinding as Binding;
|
var columnBinding = headerClicked.Column.DisplayMemberBinding as Binding;
|
||||||
var sortBy = columnBinding?.Path.Path ?? headerClicked.Column.Header as string;
|
var sortBy = columnBinding?.Path.Path ?? headerClicked.Column.Header as string;
|
||||||
|
|
||||||
if(sortBy != null) {
|
if (sortBy != null)
|
||||||
|
{
|
||||||
Sort(sortBy, direction);
|
Sort(sortBy, direction);
|
||||||
|
|
||||||
if (direction == ListSortDirection.Ascending)
|
if (direction == ListSortDirection.Ascending)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue