Skip to content
Snippets Groups Projects
Commit 81b7e735 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Output window: Revert 1d7cb01f.

It was a quick fix for 2.1, but we want a real solution.
(See QTCREATORBUG-3073.)
parent bdc0e292
No related branches found
No related tags found
No related merge requests found
...@@ -390,7 +390,7 @@ void OutputPane::tabChanged(int i) ...@@ -390,7 +390,7 @@ void OutputPane::tabChanged(int i)
RunControl *rc = m_runControlTabs.at(index).runControl; RunControl *rc = m_runControlTabs.at(index).runControl;
m_stopAction->setEnabled(rc->isRunning()); m_stopAction->setEnabled(rc->isRunning());
m_reRunButton->setEnabled(!rc->isRunning() && rc->runMode() == Constants::RUNMODE); m_reRunButton->setEnabled(!rc->isRunning());
m_reRunButton->setIcon(m_runIcon); m_reRunButton->setIcon(m_runIcon);
} }
} }
...@@ -420,7 +420,7 @@ void OutputPane::runControlFinished() ...@@ -420,7 +420,7 @@ void OutputPane::runControlFinished()
<< " current " << current << m_runControlTabs.size(); << " current " << current << m_runControlTabs.size();
if (current && current == sender()) { if (current && current == sender()) {
m_reRunButton->setEnabled(current->runMode() == Constants::RUNMODE); m_reRunButton->setEnabled(true);
m_stopAction->setEnabled(false); m_stopAction->setEnabled(false);
m_reRunButton->setIcon(m_runIcon); m_reRunButton->setIcon(m_runIcon);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment