Skip to content
Permalink
Browse files

make add-ons dialog consistent when going back (bnc#893103)

  • Loading branch information...
jreidinger committed Sep 1, 2014
1 parent a424854 commit 0110f7af088392623833b5d2f55eff99c2f8151a
Showing with 2 additions and 6 deletions.
  1. +2 −6 src/include/add-on/add-on-workflow.rb
@@ -48,8 +48,6 @@ def initialize_add_on_add_on_workflow(include_target)
Yast.include include_target, "packager/repositories_include.rb"
Yast.include include_target, "add-on/misc.rb"

@going_back_in_workflow = GetInstArgs.going_back

# Used for adding sources
@createResult = :again

@@ -1072,11 +1070,9 @@ def RunAddOnMainDialog(enable_back, enable_next, enable_abort, back_button, next
end

# FATE #301928 - Saving one click
# Bugzilla #305809 if "going_back", do not save that click!
if no_addons && !@going_back_in_workflow
# Bugzilla #893103 be consistent, so allways when there is no add-on skip
if no_addons
Builtins.y2milestone("Skipping to media_select")
# only once
@going_back_in_workflow = false
ret = :first_time
end

0 comments on commit 0110f7a

Please sign in to comment.
You can’t perform that action at this time.