Bugzilla – Attachment 57606 Details for
Bug 46438
EasyHack: ctrl-g to re-search in the search bar ...
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add ctrl-g to re-search
bug46438.diff (text/plain), 922 bytes, created by
Cameron Paul
on 2012-02-24 12:01:33 UTC
(
hide
)
Description:
add ctrl-g to re-search
Filename:
MIME Type:
Creator:
Cameron Paul
Created:
2012-02-24 12:01:33 UTC
Size:
922 bytes
patch
obsolete
>diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx >index 16d4d55..c974a22 100644 >--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx >+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx >@@ -133,6 +133,7 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt ) > { > const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent(); > sal_Bool bShift = pKeyEvent->GetKeyCode().IsShift(); >+ sal_Bool bMod1 = pKeyEvent->GetKeyCode().IsMod1(); > sal_uInt16 nCode = pKeyEvent->GetKeyCode().GetCode(); > > if ( KEY_ESCAPE == nCode ) >@@ -156,7 +157,7 @@ long FindTextFieldControl::PreNotify( NotifyEvent& rNEvt ) > } > } > >- if ( KEY_RETURN == nCode ) >+ if ( KEY_RETURN == nCode || (bMod1 && (KEY_G == nCode)) ) > { > Remember_Impl(GetText()); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 46438
: 57606