diff --git a/FluentPassFinder/App.xaml b/FluentPassFinder/App.xaml
index 2c172d0..045cee1 100644
--- a/FluentPassFinder/App.xaml
+++ b/FluentPassFinder/App.xaml
@@ -3,6 +3,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
+ xmlns:s="clr-namespace:System;assembly=mscorlib"
ShutdownMode="OnExplicitShutdown" >
@@ -10,6 +11,8 @@
+ True
+ False
diff --git a/FluentPassFinder/FluentPassFinder.csproj b/FluentPassFinder/FluentPassFinder.csproj
index 8ff1dff..12e2021 100644
--- a/FluentPassFinder/FluentPassFinder.csproj
+++ b/FluentPassFinder/FluentPassFinder.csproj
@@ -5,6 +5,7 @@
enable
true
$(SolutionDir)Build/$(Configuration)/$(TargetFramework)/bin
+ net48
diff --git a/FluentPassFinder/Views/SearchWindow.xaml b/FluentPassFinder/Views/SearchWindow.xaml
index be2ae87..8c7edee 100644
--- a/FluentPassFinder/Views/SearchWindow.xaml
+++ b/FluentPassFinder/Views/SearchWindow.xaml
@@ -34,7 +34,7 @@
+ Command="{Binding HideSearchWindowCommand}" CommandParameter="{StaticResource True}" />
+ {
+ Dispatcher.Invoke(() =>
+ {
+ ClearInputs();
+ });
+ }, null, delay, Timeout.InfiniteTimeSpan);
+ }
+
+ private void ClearInputs()
+ {
+ ViewModel.SearchText = string.Empty;
+ ViewModel.Entries.Clear();
+
+ ViewModel.IsContextMenuOpen = false;
+ ViewModel.SelectedEntry = null;
+ }
+
+
public void ShowSearchWindow(bool showOnPrimaryScreen)
{