Skip to content

Commit

Permalink
Less strick check
Browse files Browse the repository at this point in the history
Do not ask the user to select a product when the product selection
is hidden because there is only one product.
  • Loading branch information
lslezak committed May 3, 2018
1 parent 8ca6075 commit 8e1d821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/installation/clients/inst_complex_welcome.rb
Expand Up @@ -194,7 +194,7 @@ def license_confirmation_required?
# @return [Boolean] true if a product has been selected and license
# agreement confirmed when required; false otherwise
def product_selection_finished?
if selected_product.nil?
if selected_product.nil? && products.size > 1
Yast::Popup.Error(_("Please select a product to install."))
return false
elsif license_confirmation_required? && !selected_product.license_confirmed?
Expand Down

0 comments on commit 8e1d821

Please sign in to comment.