Commit 86e2b724 authored by Eike Ziller's avatar Eike Ziller

Send missing visibilityChanged signals to output panes.

Change-Id: Ic2de484904c8be2f3110c7e083c3691a174a5781
Reviewed-on: http://codereview.qt.nokia.com/2785Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 3ba3f335
......@@ -97,6 +97,8 @@ void OutputPaneManager::updateStatusButtons(bool visible)
int idx = m_widgetComboBox->itemData(m_widgetComboBox->currentIndex()).toInt();
if (m_buttons.value(idx))
m_buttons.value(idx)->setChecked(visible);
if (m_pageMap.value(idx))
m_pageMap.value(idx)->visibilityChanged(visible);
m_minMaxAction->setVisible(OutputPanePlaceHolder::getCurrent()
&& OutputPanePlaceHolder::getCurrent()->canMaximizeOrMinimize());
}
......@@ -382,6 +384,8 @@ void OutputPaneManager::slotHide()
int idx = m_widgetComboBox->itemData(m_widgetComboBox->currentIndex()).toInt();
if (m_buttons.value(idx))
m_buttons.value(idx)->setChecked(false);
if (m_pageMap.value(idx))
m_pageMap.value(idx)->visibilityChanged(false);
if (IEditor *editor = Core::EditorManager::instance()->currentEditor())
editor->widget()->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