From 0a1a22a578bde5637dc52924f46903b5870257f5 Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Thu, 1 Nov 2012 13:47:26 +0100 Subject: [PATCH] BuildStepsPage: Fix check for immutability for reodering Embrassingly that was wrong all along. Change-Id: I8ffc063eedb140db15daaaa8723ccd4d3f22d54f Reviewed-by: Tobias Hunger --- src/plugins/projectexplorer/buildstepspage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/buildstepspage.cpp b/src/plugins/projectexplorer/buildstepspage.cpp index 71a53d2b68d..b4f8de53e3e 100644 --- a/src/plugins/projectexplorer/buildstepspage.cpp +++ b/src/plugins/projectexplorer/buildstepspage.cpp @@ -478,7 +478,7 @@ void BuildStepListWidget::updateBuildStepButtonsState() s->toolWidget->setUpEnabled((i > 0) && !(m_buildStepList->at(i)->immutable() - && m_buildStepList->at(i - 1))); + && m_buildStepList->at(i - 1)->immutable())); m_upMapper->setMapping(s->toolWidget, i); s->toolWidget->setDownEnabled((i + 1 < m_buildStepList->count()) && !(m_buildStepList->at(i)->immutable()