Commit 0a1a22a5 authored by Daniel Teske's avatar Daniel Teske

BuildStepsPage: Fix check for immutability for reodering

Embrassingly that was wrong all along.

Change-Id: I8ffc063eedb140db15daaaa8723ccd4d3f22d54f
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 120ab388
......@@ -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()
......
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