--- a/userguide/src/HelpKeywordView.cpp Fri May 14 15:42:52 2010 +0300
+++ b/userguide/src/HelpKeywordView.cpp Fri Jun 11 13:29:58 2010 +0300
@@ -63,7 +63,7 @@
initVirtualKeyboard();
initEmptyLabel();
- connect(mainWindow(), SIGNAL(currentViewChanged(HbView*)), this, SLOT(onCurrentViewChanged(HbView*)));
+ connect(mainWindow(), SIGNAL(viewReady()), this, SLOT(onViewReady()));
}
void HelpKeywordView::initDocMl()
@@ -143,6 +143,7 @@
if(lineEdit != NULL)
{
lineEdit->setText("");
+ lineEdit->setFocus();
break;
}
}
@@ -152,11 +153,10 @@
////////////////////////////////////////////////////////////////////////////////////////////
// handle system event
-void HelpKeywordView::onCurrentViewChanged(HbView *view)
+void HelpKeywordView::onViewReady()
{
- if(this == view)
- {
- setVisible(true);
+ if(isVisible())
+ {
setNavigationAction(mSoftKeyAction);
}
}