[PATCH] fdo#59101 - [Feature Request] Make Find hotkey (Ctrl+F) a to...
Joren De Cuyper (via Code Review)
gerrit at gerrit.libreoffice.org
Thu Jan 17 15:38:53 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1751
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/51/1751/1
fdo#59101 - [Feature Request] Make Find hotkey (Ctrl+F) a toggle command
Change-Id: I8cf518a18e4846f9e687d05c7f7c0eb774abba6f
---
M svx/source/tbxctrls/tbunosearchcontrollers.cxx
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 0dff510..07ca9a6 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -138,7 +138,7 @@
sal_Bool bMod1 = pKeyEvent->GetKeyCode().IsMod1();
sal_uInt16 nCode = pKeyEvent->GetKeyCode().GetCode();
- if ( KEY_ESCAPE == nCode )
+ if ( KEY_ESCAPE == nCode || (bMod1 && (KEY_F == nCode)) )
{
nRet = 1;
GrabFocusToDocument();
--
To view, visit https://gerrit.libreoffice.org/1751
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8cf518a18e4846f9e687d05c7f7c0eb774abba6f
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Joren De Cuyper <joren.libreoffice at telenet.be>
More information about the LibreOffice
mailing list