-
This commit is contained in:
@@ -33,7 +33,8 @@ namespace mpvnet
|
||||
|
||||
bool Filter(CommandItem item)
|
||||
{
|
||||
if (item.Command == "") return false;
|
||||
if (item.Command == "" || item.Path == "")
|
||||
return false;
|
||||
string filter = FilterTextBox.Text.ToLower();
|
||||
if (filter == "") return true;
|
||||
if (item.Command.ToLower().Contains(filter) ||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
<TextBlock x:Name="OpenSettingsTextBlock" Margin="0,30,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="OpenSettingsTextBlock_MouseUp">Open config folder</TextBlock>
|
||||
<TextBlock x:Name="ShowManualTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="ShowManualTextBlock_MouseUp">Show mpv manual</TextBlock>
|
||||
<TextBlock x:Name="SupportTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="SupportTextBlock_MouseUp">Show support forum</TextBlock>
|
||||
<TextBlock x:Name="ApplyTextBlock" Margin="0,15,0,0" Cursor="Hand" TextWrapping="WrapWithOverflow" Foreground="{x:Static WPF:WPF.ThemeBrush}" MouseUp="ApplyTextBlock_MouseUp">Write config to disk</TextBlock>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
@@ -240,10 +240,5 @@ namespace mpvnet
|
||||
{
|
||||
Process.Start("https://github.com/stax76/mpv.net#Support");
|
||||
}
|
||||
|
||||
private void ApplyTextBlock_MouseUp(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
WriteToDisk();
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
mpv.net/mpv.ico
BIN
mpv.net/mpv.ico
Binary file not shown.
|
Before Width: | Height: | Size: 264 KiB |
@@ -90,7 +90,7 @@
|
||||
<PropertyGroup />
|
||||
<PropertyGroup />
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>mpv.ico</ApplicationIcon>
|
||||
<ApplicationIcon>mpvnet.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||
@@ -235,6 +235,7 @@
|
||||
<Link>LICENSE.txt</Link>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="mpvnet.ico" />
|
||||
<Content Include="Resources\mpvConf.txt" />
|
||||
<Content Include="Resources\mpvConfToml.txt" />
|
||||
<Content Include="Resources\mpvNetConfToml.txt" />
|
||||
|
||||
BIN
mpv.net/mpvnet.ico
Normal file
BIN
mpv.net/mpvnet.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Reference in New Issue
Block a user