Commit 65a412f9 authored by Laurent Montel's avatar Laurent Montel 😁

Hide accesskey when we switch message

parent 5f189317
......@@ -796,6 +796,9 @@ void ViewerPrivate::displaySplashPage(const QString &templateName, const QVarian
void ViewerPrivate::enableMessageDisplay()
{
if (mMsgDisplay) {
return;
}
mMsgDisplay = true;
adjustLayout();
}
......@@ -1255,6 +1258,7 @@ void ViewerPrivate::resetStateForNewMessage()
mMimePartTree->clearModel();
#endif
mViewer->clearRelativePosition();
mViewer->hideAccessKeys();
setShowSignatureDetails(false);
mFindBar->closeBar();
mViewerPluginToolManager->closeAllTools();
......
......@@ -233,6 +233,11 @@ void MailWebEngineView::showAccessKeys()
d->mWebViewAccessKey->showAccessKeys();
}
void MailWebEngineView::hideAccessKeys()
{
d->mWebViewAccessKey->hideAccessKeys();
}
bool MailWebEngineView::isScrolledToBottom() const
{
qDebug() << "bool MailWebEngineView::isScrolledToBottom() const not implemented";
......
......@@ -45,6 +45,7 @@ public:
void saveMainFrameScreenshotInFile(const QString &filename);
void showAccessKeys();
void hideAccessKeys();
bool isScrolledToBottom() const;
void setElementByIdVisible(const QString &id, bool visible);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment