mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix double click on header
This commit is contained in:
parent
1d77d45fe2
commit
bf91bd2492
1 changed files with 5 additions and 2 deletions
|
|
@ -395,8 +395,11 @@ namespace Flow.Launcher.Plugin.Program.Views
|
|||
|
||||
private void programSourceView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
var selectedProgramSource = programSourceView.SelectedItem as ProgramSource;
|
||||
EditProgramSource(selectedProgramSource);
|
||||
if (((FrameworkElement)e.OriginalSource).DataContext is ProgramSource)
|
||||
{
|
||||
var selectedProgramSource = programSourceView.SelectedItem as ProgramSource;
|
||||
EditProgramSource(selectedProgramSource);
|
||||
}
|
||||
}
|
||||
|
||||
private bool IsAllItemsUserAdded(List<ProgramSource> items)
|
||||
|
|
|
|||
Loading…
Reference in a new issue