mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
allow File Content search to be toggled on off
This commit is contained in:
parent
0534dece0b
commit
ee38561ece
3 changed files with 1 additions and 8 deletions
|
|
@ -1,9 +1,7 @@
|
||||||
using Flow.Launcher.Plugin.Explorer.Search;
|
using Flow.Launcher.Plugin.Explorer.Search;
|
||||||
using Flow.Launcher.Plugin.Explorer.Search.QuickAccessLinks;
|
using Flow.Launcher.Plugin.Explorer.Search.QuickAccessLinks;
|
||||||
using Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
|
||||||
|
|
||||||
namespace Flow.Launcher.Plugin.Explorer
|
namespace Flow.Launcher.Plugin.Explorer
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -30,8 +30,7 @@
|
||||||
<CheckBox Name="ChkActionKeywordEnabled" ToolTip="{DynamicResource plugin_explorer_actionkeyword_enabled_tooltip}"
|
<CheckBox Name="ChkActionKeywordEnabled" ToolTip="{DynamicResource plugin_explorer_actionkeyword_enabled_tooltip}"
|
||||||
Margin="10" Grid.Row="0" Grid.Column="2" Content="{DynamicResource plugin_explorer_actionkeyword_enabled}"
|
Margin="10" Grid.Row="0" Grid.Column="2" Content="{DynamicResource plugin_explorer_actionkeyword_enabled}"
|
||||||
Width="auto"
|
Width="auto"
|
||||||
VerticalAlignment="Center" IsChecked="{Binding Enabled}"
|
VerticalAlignment="Center" IsChecked="{Binding Enabled}" />
|
||||||
Visibility="{Binding EnabledVisibility}"/>
|
|
||||||
<Button Name="DownButton"
|
<Button Name="DownButton"
|
||||||
Click="OnDoneButtonClick" Grid.Row="1" Grid.Column="2"
|
Click="OnDoneButtonClick" Grid.Row="1" Grid.Column="2"
|
||||||
Margin="10 0 10 0" Width="80" Height="35"
|
Margin="10 0 10 0" Width="80" Height="35"
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,6 @@ namespace Flow.Launcher.Plugin.Explorer.Views
|
||||||
|
|
||||||
private string actionKeyword;
|
private string actionKeyword;
|
||||||
|
|
||||||
public Visibility EnabledVisibility
|
|
||||||
=> CurrentActionKeyword.KeywordProperty == Settings.ActionKeyword.FileContentSearchActionKeyword
|
|
||||||
? Visibility.Collapsed : Visibility.Visible;
|
|
||||||
|
|
||||||
public ActionKeywordSetting(SettingsViewModel settingsViewModel,
|
public ActionKeywordSetting(SettingsViewModel settingsViewModel,
|
||||||
ActionKeywordView selectedActionKeyword)
|
ActionKeywordView selectedActionKeyword)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue