mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-17 13:52:40 +00:00
improve ENTER key handle
This commit is contained in:
@@ -42,12 +42,12 @@ namespace QuickLook
|
||||
OpenWithAssocApp();
|
||||
};*/
|
||||
|
||||
buttonOpenWith.Click += (sender, e) => OpenWithAssocApp();
|
||||
buttonOpenWith.Click += (sender, e) => RunAndClose();
|
||||
}
|
||||
|
||||
public ContextObject ContextObject { get; private set; }
|
||||
|
||||
internal void OpenWithAssocApp()
|
||||
internal void RunAndClose()
|
||||
{
|
||||
if (string.IsNullOrEmpty(_path))
|
||||
return;
|
||||
|
Reference in New Issue
Block a user