BuildStepsPage: Fix check for immutability for reodering

Embrassingly that was wrong all along.

Change-Id: I8ffc063eedb140db15daaaa8723ccd4d3f22d54f
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Daniel Teske
2012-11-01 13:47:26 +01:00
parent 120ab38814
commit 0a1a22a578

View File

@@ -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()