Commit 45c358e8 authored by dt's avatar dt
Browse files

Fixes: Correctly disable buttons for moving build steps after

add/remove.
parent 63c5a932
...@@ -222,6 +222,7 @@ void BuildStepsPage::addBuildStep() ...@@ -222,6 +222,7 @@ void BuildStepsPage::addBuildStep()
s.widget->init(m_configuration); s.widget->init(m_configuration);
s.detailsLabel->setText(s.widget->summaryText()); s.detailsLabel->setText(s.widget->summaryText());
} }
updateBuildStepButtonsState();
} }
void BuildStepsPage::updateRemoveBuildStepMenu() void BuildStepsPage::updateRemoveBuildStepMenu()
...@@ -257,6 +258,7 @@ void BuildStepsPage::removeBuildStep() ...@@ -257,6 +258,7 @@ void BuildStepsPage::removeBuildStep()
m_buildSteps.removeAt(pos); m_buildSteps.removeAt(pos);
m_clean ? m_pro->removeCleanStep(pos) : m_pro->removeBuildStep(pos); m_clean ? m_pro->removeCleanStep(pos) : m_pro->removeBuildStep(pos);
} }
updateBuildStepButtonsState();
} }
void BuildStepsPage::upBuildStep() void BuildStepsPage::upBuildStep()
......
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