Merge pull request #426 from Flow-Launcher/fix_explorer_path

Dev branch: Fix Explorer path display in settings
This commit is contained in:
Jeremy Wu 2021-05-11 20:17:55 +10:00 committed by GitHub
commit 86598b5eef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -9,12 +9,12 @@
<UserControl.Resources>
<DataTemplate x:Key="ListViewTemplateAccessLinks">
<TextBlock
Text="{Binding Nickname, Mode=OneTime}"
Text="{Binding Path, Mode=OneTime}"
Margin="0,5,0,5" />
</DataTemplate>
<DataTemplate x:Key="ListViewTemplateExcludedPaths">
<TextBlock
Text="{Binding Nickname, Mode=OneTime}"
Text="{Binding Path, Mode=OneTime}"
Margin="0,5,0,5" />
</DataTemplate>
<DataTemplate x:Key="ListViewActionKeywords">

View file

@ -108,7 +108,7 @@ namespace Flow.Launcher.Plugin.Explorer.Views
private void expActionKeywords_Click(object sender, RoutedEventArgs e)
{
if (expActionKeywords.IsExpanded)
expActionKeywords.Height = 215;
expActionKeywords.Height = 205;
if (expExcludedPaths.IsExpanded)
expExcludedPaths.IsExpanded = false;
@ -128,7 +128,7 @@ namespace Flow.Launcher.Plugin.Explorer.Views
private void expAccessLinks_Click(object sender, RoutedEventArgs e)
{
if (expAccessLinks.IsExpanded)
expAccessLinks.Height = 215;
expAccessLinks.Height = 205;
if (expExcludedPaths.IsExpanded)
expExcludedPaths.IsExpanded = false;