bind Ctrl + R to re-running the current query

This commit is contained in:
Ioannis G 2023-06-06 13:06:39 +03:00
parent 0b05e954e5
commit fa783a9cd4
No known key found for this signature in database
GPG key ID: EAC0E4E5E36AC49E
2 changed files with 14 additions and 1 deletions

View file

@ -86,6 +86,10 @@
Key="O"
Command="{Binding LoadContextMenuCommand}"
Modifiers="Ctrl" />
<KeyBinding
Key="R"
Command="{Binding ReQueryCommand}"
Modifiers="Ctrl" />
<KeyBinding
Key="H"
Command="{Binding LoadHistoryCommand}"

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
@ -205,6 +205,15 @@ namespace Flow.Launcher.ViewModel
}
}
[RelayCommand]
private void ReQuery()
{
if (SelectedIsFromQueryResults())
{
QueryResults(reQuery: true);
}
}
[RelayCommand]
private void LoadContextMenu()
{