Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
replace with Shift+Control+F hotkey. because alt is being caught by m…
Browse files Browse the repository at this point in the history
…ain application form
  • Loading branch information
Georgy Grigoryev committed Jun 19, 2016
1 parent 7511773 commit 036d823
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
5 changes: 3 additions & 2 deletions CreatePlgX.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
cd %~dp0
;;cd %~dp0

echo Deleting existing PlgX folder
rmdir /s /q PlgX
Expand All @@ -11,7 +11,8 @@ echo Copying files
xcopy "QuickSearch" PlgX /s /e /exclude:PlgXExclude.txt

echo Compiling PlgX
"../KeePass/KeePass.exe" /plgx-create "%~dp0PlgX"
echo "%~dp0PlgX"
"../KeePass-Source/Build/KeePass/Release/KeePass.exe" /plgx-create "%~dp0PlgX"

echo Releasing PlgX
move /y PlgX.plgx "Releases\Build Outputs\QuickSearch.plgx"
Expand Down
16 changes: 7 additions & 9 deletions QuickSearch/QuickSearch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<Choose>
<When Condition="'$(Configuration)'=='Debug'">
<ItemGroup>
<ProjectReference Include="..\..\KeePass-Source\KeePass\KeePass.csproj">
<Project>{10938016-DEE2-4A25-9A5A-8FD3444379CA}</Project>
<Name>KeePass</Name>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
</When>
<When Condition="'$(Configuration)'=='Debug'" />
<Otherwise>
<ItemGroup>
<Reference Include="KeePass">
Expand Down Expand Up @@ -125,6 +117,12 @@
<ItemGroup>
<None Include="Resources\Icon1.ico" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\KeePass-Source\KeePass\KeePass.csproj">
<Project>{10938016-dee2-4a25-9a5a-8fd3444379ca}</Project>
<Name>KeePass</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>IF $(ConfigurationName) == Release "$(ProjectDir)..\CreatePlgX.bat"</PostBuildEvent>
Expand Down
2 changes: 1 addition & 1 deletion QuickSearch/QuickSearchExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private QuickSearchControl addQuickSearchControl(IPluginHost host)
mainForm.KeyPreview = true;
mainForm.KeyDown += (sender, args) =>
{
if (args.KeyData == (Keys.Shift|Keys.Alt|Keys.F)) {
if (args.KeyData == (Keys.Shift|Keys.Control|Keys.F)) {
myControl.comboBoxSearch.Focus();
}
};
Expand Down

0 comments on commit 036d823

Please sign in to comment.