mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-13 02:49:06 +00:00
append to last commit: correct UI actions
This commit is contained in:
@@ -35,16 +35,11 @@ namespace QuickLook
|
|||||||
BlurWindow.EnableWindowBlur(this);
|
BlurWindow.EnableWindowBlur(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
buttonCloseWindow.MouseLeftButtonUp += (sender, e) => BeginHide();
|
buttonCloseWindow.MouseLeftButtonUp += (sender, e) => ViewWindowManager.GetInstance()
|
||||||
|
.InvokeRoutine(new KeyEventArgs(Keys.Escape));
|
||||||
/*PreviewKeyUp += (sender, e) =>
|
|
||||||
{
|
|
||||||
if (e.Key == Key.Enter)
|
|
||||||
OpenWithAssocApp();
|
|
||||||
};*/
|
|
||||||
|
|
||||||
buttonOpenWith.Click += (sender, e) => ViewWindowManager.GetInstance()
|
buttonOpenWith.Click += (sender, e) => ViewWindowManager.GetInstance()
|
||||||
.InvokeRoutine(new KeyEventArgs(Keys.Escape));
|
.InvokeRoutine(new KeyEventArgs(Keys.Enter));
|
||||||
}
|
}
|
||||||
|
|
||||||
public ContextObject ContextObject { get; private set; }
|
public ContextObject ContextObject { get; private set; }
|
||||||
|
Reference in New Issue
Block a user