Skip to content

Commit

Permalink
Revert "Do not reset disabled items if there was no previous stagemode"
Browse files Browse the repository at this point in the history
This reverts commit d5159d4.
  • Loading branch information
kobliha committed May 27, 2013
1 parent 029d25b commit 0a27001
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/control/src/ProductControl.ycp
Expand Up @@ -983,9 +983,7 @@ global define void UpdateWizardSteps(list<map> stagemode)

// bnc#813072: stagemode has changed, re-enable all disabled modules
// and proposals and other items
// function must not be called if there was no previous stage_mode
// otherwise it resets everything
if (size(last_stage_mode) > 0 && stagemode != last_stage_mode) {
if (stagemode != last_stage_mode) {
ResetDisabledItems();
}

Expand Down

0 comments on commit 0a27001

Please sign in to comment.