Skip to content
Commit 13766eb1 authored by Andreas Färber's avatar Andreas Färber
Browse files

cocoa: Close sheet after image file selection



If no disk image is specified, the Cocoa frontend displays a modal sheet
to let the user select an image file to boot from.

This sheet is never closed and it permanently obscures the emulator window.

Close it after obtaining the file name in case the user did select a file.
Otherwise we exit immediately, so no need to close then.

Signed-off-by: default avatarJuan Pineda <juan@logician.com>
Signed-off-by: default avatarAndreas Färber <andreas.faerber@web.de>
parent db529aab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment