Skip to content

Commit

Permalink
do not crash if last tab do not exists (bnc#923458)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jun 1, 2015
1 parent f5c8af4 commit e143838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/bootloader/routines/dialogs.rb
Expand Up @@ -128,7 +128,7 @@ def MainDialog

)
if ret != :back && ret != :abort && ret != :cancel
@return_tab = CWMTab.LastTab
@return_tab = CWMTab.LastTab || "tab"
@return_tab = "installation" if @return_tab.include? "tab" # workaround different tab set for grub2
end
ret
Expand Down

0 comments on commit e143838

Please sign in to comment.