From 81b7e73501412d8b8ee9e4f4b54ee72b20e64c33 Mon Sep 17 00:00:00 2001 From: Christian Kandeler <christian.kandeler@nokia.com> Date: Thu, 18 Nov 2010 17:52:25 +0100 Subject: [PATCH] Output window: Revert 1d7cb01f64ef83aa397c4f773d415081ae850b53. It was a quick fix for 2.1, but we want a real solution. (See QTCREATORBUG-3073.) --- src/plugins/projectexplorer/outputwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/outputwindow.cpp b/src/plugins/projectexplorer/outputwindow.cpp index 457402be00e..8a65e8968b2 100644 --- a/src/plugins/projectexplorer/outputwindow.cpp +++ b/src/plugins/projectexplorer/outputwindow.cpp @@ -390,7 +390,7 @@ void OutputPane::tabChanged(int i) RunControl *rc = m_runControlTabs.at(index).runControl; m_stopAction->setEnabled(rc->isRunning()); - m_reRunButton->setEnabled(!rc->isRunning() && rc->runMode() == Constants::RUNMODE); + m_reRunButton->setEnabled(!rc->isRunning()); m_reRunButton->setIcon(m_runIcon); } } @@ -420,7 +420,7 @@ void OutputPane::runControlFinished() << " current " << current << m_runControlTabs.size(); if (current && current == sender()) { - m_reRunButton->setEnabled(current->runMode() == Constants::RUNMODE); + m_reRunButton->setEnabled(true); m_stopAction->setEnabled(false); m_reRunButton->setIcon(m_runIcon); } -- GitLab