Skip to content

Commit

Permalink
do not call double close dialog when aborting (bnc#910343)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jul 9, 2015
1 parent 51ab1c8 commit 752c6cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions src/include/bootloader/routines/dialogs.rb
Expand Up @@ -40,11 +40,7 @@ def initialize_bootloader_routines_dialogs(include_target)
# @return true if abort was pressed
def testAbort
return false if Mode.commandline
if :abort == UI.PollInput
UI.CloseDialog if !Stage.initial
return true
end
false
return :abort == UI.PollInput
end

# Read settings dialog
Expand Down
2 changes: 1 addition & 1 deletion src/include/bootloader/routines/wizards.rb
Expand Up @@ -114,7 +114,7 @@ def BootloaderSequence
)
ret = Sequencer.Run(my_aliases, sequence)

UI.CloseDialog
Wizard.CloseDialog
ret
end
end
Expand Down

0 comments on commit 752c6cf

Please sign in to comment.