mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 20:27:36 +02:00
Allow searches in context menu
This commit is contained in:
@@ -57,8 +57,11 @@ namespace Wox {
|
||||
public void Show(string title, string subTitle, string icopath) {
|
||||
tbTitle.Text = title;
|
||||
tbSubTitle.Text = subTitle;
|
||||
if (string.IsNullOrEmpty(subTitle))
|
||||
{
|
||||
tbSubTitle.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
if (!File.Exists(icopath)) {
|
||||
//icopath = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath), "Images\\app.png");
|
||||
imgIco.Source = new BitmapImage(new Uri("Images\\app.png", UriKind.Relative));
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user