Commit 3542db8e authored by Adam Treat's avatar Adam Treat Committed by hjk
Browse files

Send the outputpane the visibilityChanged(true) state when icon is toggled.



When an outputpane is toggled visible/invisible/visible by clicking on the icon
itself the plugin is not made aware of the visiblityChanged(true) state since
changePage does not detect that the index has changed because indeed it has not.

This change just explicitly adds the visibilityChanged call after the toggle so
that the plugin is made aware.

Change-Id: I6e782f52c9ac926c39acd91b5533009899a4ec2a
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent de5ed4a0
......@@ -456,6 +456,7 @@ void OutputPaneManager::showPage(int idx, bool focus)
// make the page visible
OutputPanePlaceHolder::getCurrent()->setVisible(true);
ensurePageVisible(idx);
m_pageMap.value(idx)->visibilityChanged(true);
if (focus && out->canFocus())
out->setFocus();
}
......
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