Commit 2da16e03 authored by Shubham  .'s avatar Shubham .
Browse files

Hide the find text in page widget when on Contents page

parent 5469e51e
...@@ -240,6 +240,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(const QString& backend, const ...@@ -240,6 +240,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(const QString& backend, const
connect(this, &DocumentationPanelWidget::activateBrowser, [=]{ connect(this, &DocumentationPanelWidget::activateBrowser, [=]{
m_textBrowser->hide(); m_textBrowser->hide();
m_displayArea->setCurrentIndex(1); m_displayArea->setCurrentIndex(1);
m_textBrowser->show();
}); });
connect(m_displayArea, &QStackedWidget::currentChanged, [=]{ connect(m_displayArea, &QStackedWidget::currentChanged, [=]{
...@@ -258,6 +259,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(const QString& backend, const ...@@ -258,6 +259,7 @@ DocumentationPanelWidget::DocumentationPanelWidget(const QString& backend, const
connect(home, &QPushButton::clicked, [=]{ connect(home, &QPushButton::clicked, [=]{
m_displayArea->setCurrentIndex(0); m_displayArea->setCurrentIndex(0);
findPageWidgetContainer->hide();
}); });
connect(resetZoom, &QPushButton::clicked, [=]{ connect(resetZoom, &QPushButton::clicked, [=]{
......
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