Skip to content

Commit

Permalink
fix sequencer in inst_scc (bnc#878534)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed May 19, 2014
1 parent 4550435 commit dc86be6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/clients/inst_scc.rb
Expand Up @@ -622,7 +622,11 @@ def media_addons
# display global enable/disable switch
SourceDialogs.display_addon_checkbox = true

WFM.call("inst_add-on")
ret = WFM.call("inst_add-on")
ret = :next if [:auto, :finish].include? ret
ret = :abort if [:back].include? ret

return ret
ensure
# make sure to revert the change if something goes wrong
SourceDialogs.display_addon_checkbox = false
Expand Down

0 comments on commit dc86be6

Please sign in to comment.