From 47d559f558bbdfb7a3f11be61cbd1fbe8b080d8a Mon Sep 17 00:00:00 2001 From: "ahram.suh" Date: Wed, 17 Apr 2013 22:21:44 +0900 Subject: [PATCH] Fixed addressbar & focus issue including N_SE-34810 Change-Id: I5b6b193288d46ac97561a7830880466eec310406 --- src/IntMainForm.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/IntMainForm.cpp b/src/IntMainForm.cpp index 09a05bc..960bbb9 100644 --- a/src/IntMainForm.cpp +++ b/src/IntMainForm.cpp @@ -495,13 +495,15 @@ MainForm::InitWebControl() void MainForm::OnFocusGained(const Control& source) { +/* + * We don't need any action here for focus. + * The focus of Addressbar will be set after keypad is opened.(OnAddressBarKeypadOpened()) if(__pAddressbar != null) { __pFooterUrlField->SetFocusable(false); __pAddressbar->SetAddressbarURLFocus(); - } - +*/ } void @@ -2730,7 +2732,7 @@ MainForm::OnAddressBarKeypadOpened(const Addressbar& addBar) { __pAddressbar->SetShowState(true); __pAddressbar->SetBounds(Rectangle(0,0,GetClientAreaBounds().width,__pAddressbar->GetHeight())); -// __pAddressbar->SetAddressbarURLFocus(); + __pAddressbar->SetAddressbarURLFocus(); } } -- 2.7.4